addMarker
Add a marker point at specified longitude/latitude coordinates. Customize label, color, and size. Returns a layer ID for later operations such as updating or removing the marker.
Instructions
Add a marker point at specified coordinates, returns layerId for later operations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| longitude | Yes | Longitude (-180 to 180) | |
| latitude | Yes | Latitude (-90 to 90) | |
| label | No | Label text | |
| color | No | Marker color (CSS format) | #3B82F6 |
| size | No | Point size (pixels) | |
| id | No | Custom layer ID (auto-generated if omitted) | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) |