move Style Layer
open fun moveStyleLayer(@NonNull layerId: String, @Nullable 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
layer Id
Identifier of the style layer to move.
layer Position
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.