Remove a layer from the registry by layer ID.

mapLayers.removeMapLayer(layer, ...)

Arguments

layer

layer (or ID of the layer) to remove

...

low-level parameters (such as host and auth) to be passed on to qgisremote()

Details

The specified layer will be removed from the registry. If the registry has ownership of the layer then it will also be deleted.