addLayerAt

open fun addLayerAt(@NonNull layer: Layer, @IntRange(from = 0) index: Int)

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

Parameters

layer

the layer to add

index

the index to insert the layer at