removeLayerFromContext() ​
removeLayerFromContext(
context,layerModel):MapContext
Removes a layer from the context.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
context | MapContext | The current map context. |
layerModel | MapContextLayer | The layer to be removed. |
Returns ​
The new map context without the removed layer.