RouteMap
MapsMap with a route line through coordinates [[lon,lat],...] plus start/end pins and distance/duration.
Props
Generated from the Zod definition. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.
| Prop | Type | Required | Description |
|---|---|---|---|
| title | string | No | Heading shown at the top of the component. |
| from | string | Yes | - |
| to | string | Yes | - |
| coordinates | number[][] | Yes | Route polyline as [lon, lat] pairs. |
| distance | string | No | - |
| duration | string | No | - |
| height | number | No | Height in pixels. |
Used by templates
Fixed-schema templates that include RouteMap. Try them in the playground.