/mapview/removeLayer
The module exports the removeLayer method which is bound to the mapview.
- Source
Methods
(inner) removeLayer(layers)
The method will iterate of an array of layer or layer keys and will call the remove method of the referenced layer.
Parameters:
Name | Type | Description |
---|---|---|
layers | string | | A single layer key/object or an array of layer keys/objects to be removed from the mapview. |
- Source