remove_layer
Remove a specified layer and its source from the map by providing the layer ID. This deletes both the layer and its underlying data source.
Instructions
Remove a layer and its associated source from the map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the layer/source to remove. | |
| state | No | Optional map state JSON string. | |
| session_id | No | The session ID. |