addLayerAbove

open fun addLayerAbove(@NonNull layer: Layer, @NonNull above: String)

Adds the layer to the map. The layer must be newly created and not added to the map before

Parameters

layer

the layer to add

above

the layer id to add this layer above