Map
A map with markers. With "route", a line connects the markers in order. Bind "selected" to { "@path": "/x" } to get the label of the marker that the user picks. When maps are not available, it shows a list of the places.
Examples
Loading examples…
Props
| Prop | Type | Description |
|---|---|---|
markers | object[] | A list of places, or { "@path": "/x" } |
route | boolean | Draws a line through the markers in order |
selected | string | The label of the selected marker. Bind it with { "@path": "/x" } to read the choice of the user |
height | number | Pixels. Default 240 |
zoom | number | With two or more markers, only the highest zoom of the fit |
center | object |