addPolyline
Draw a path or route on a 3D globe from geographic coordinates. Specify color, width, label, and clamp-to-ground options.
Instructions
Draw a path or route from geographic coordinate tuples. Returns { success, data: { entityId }, message? }; keep entityId for removeEntity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Line color (CSS format) | #3B82F6 |
| label | No | Polyline label text | |
| width | No | Line width (pixels) | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) | |
| coordinates | Yes | Polyline coordinates array [[lon, lat, height?], ...] | |
| clampToGround | No | Whether to clamp to ground |