Remove a layer from the registry by layer ID.
mapLayers.removeMapLayer(layer, ...)
layer | layer (or ID of the layer) to remove |
---|---|
... | low-level parameters (such as |
The specified layer will be removed from the registry. If the registry has ownership of the layer then it will also be deleted.