getLayer

fun getLayer(id: String): MapLayer<*, *>?

Returns the layer associated with the specified identifier if it exists.