removeLayer

open fun removeLayer(layer: Number): LayerGroup

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


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

Removes the given layer from the group.