map
Places on a map: stores nearby, a route, where the courier is.
Where things are. map puts up to ten pins on a map — the stores near the user, the stops of a route, where the courier is now — with a short label each.
On the page the map is a still picture of the pins; a tap opens it full screen, where it pans and zooms, and offers Open in Maps. The SDKs draw it with MapLibre over open map data from OpenStreetMap, served from the EU; no map provider sees anything but the tiles it is asked for.
Re-rendered in the browser from the SDK’s own scales. Not a screenshot.
What the server checks
Every pin's coordinates have to be exactly what one of your actions returned. The model never gives a map image or a tile address.
Props
Every block also carries type and a required fallback_text of 1 to 300 characters.
| Prop | Type | Required | Constraints |
|---|---|---|---|
pins | array | Yes | 1 to 10 entries. |
pins[].lat | number | Yes | -90 to 90. |
pins[].lng | number | Yes | -180 to 180. |
pins[].label | string | Yes | 1 to 60 characters. |
pins[].subtitle | string | No | Up to 80 characters. |
caption | string | No | Up to 120 characters. |