Map snippet
Composite Data display draft Gen UI partA small static map with place pins and people. Tap opens directions.
Examples
HTML and CSS
Framework-free reference. Styles live in system/components/map-snippet.css and read only tokens. Wrap markup in .v-root.
Rendered markup of the anatomy example
Props and slots
The component API. Gen UI JSON uses these names, and the Flutter widget should mirror them.
Props
| Prop | Values | Default |
|---|---|---|
height | number | 150 |
pins | array. [{ x, y } 0 to 1, kind: place | person, name, color, ink }] | |
layout | a | b | a |
* required.
Slot rules
No slots. This part takes no children.
In Gen UI
How VelioBot uses this part. The bot returns JSON; the validator checks it; the renderer draws it.
JSON node
Every node may also carry id, grow, attribution, privateOnly and fallbackText.
Rules that name this part
card-children Card children: Image, Text, Stack, List, KeyValue, Tabs, MapSnippet, Progress, Divider, ActionRow.
Usage in recipes
2 of the original cards use it. After V1. Priority table
Bot functions: Friends nearby, Group plans, Plan day and live ETA, Suggestions, Trips.