getLayer

Extension function to get a Layer provided by the Style Plugin by layer id.

Return

StyleLayerPlugin

Parameters

layerId

the layer id

fun StyleManagerInterface.getLayer(layerId: String): Layer?