addPolyline
Add a path or line segment to a 3D globe with customizable color, width, and ground clamping. 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 |
|---|---|---|---|
| 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 |