addLayerAt

fun StyleInterface.addLayerAt(layer: StyleContract.StyleLayerExtension, index: Int?)

Extension function to add a Layer provided by the Style Extension to the Style.

Parameters

layer

The layer to be added

index

the index that the current layer is added on