addPolyline
Add a polyline path on a 3D globe. Specify coordinates, color, width, clamp-to-ground, and label. Returns the entity ID for further manipulation.
Instructions
Add a polyline on the map (path/line segment), returns entityId
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coordinates | Yes | Polyline coordinates array [[lon, lat, height?], ...] | |
| color | No | Line color (CSS format) | #3B82F6 |
| width | No | Line width (pixels) | |
| clampToGround | No | Whether to clamp to ground | |
| label | No | Polyline label text | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) |