addLayerBelow

open fun addLayerBelow(@NonNull layer: Layer, @NonNull below: 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

below

the layer id to add this layer before