detachMapLayerByIndex Method
Detach map layer at index (-1 to remove all layers)
detachMapLayerByIndex(mapLayerIndex: MapLayerIndex): void
Parameter | Type | Description |
---|---|---|
mapLayerIndex | MapLayerIndex | the MapLayerIndex of the map layer to detach. |
Returns - void
Defined in
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.