move Style Layer
open override fun moveStyleLayer(layerId: String, layerPosition: LayerPosition?): Expected<String, None>
Content copied to clipboard
Moves an existing style layer.
Return
A string describing an error if the operation was not successful, or empty otherwise.
Parameters
layerId
– Identifier of the style layer to move.
layerPosition
– The layer will be positioned according to the LayerPosition parameters. If an empty LayerPosition is provided then the layer is moved to the top of the layerstack.