removeLayer

open fun removeLayer(layer: Int): LayerGroup(source)

Removes the layer with the given internal ID from the group.


open fun removeLayer(layer: Layer<*>): LayerGroup(source)

Removes the given layer from the group.