addLayerAt

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

Parameters

index

the index that the current layer is added on

layer

The layer to be added

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