getLayer

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

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

Return

StyleLayerPlugin

Parameters

layerId

the layer id