Commit 2e756f6
Tap a map pin to preview and expand element details
Tapping a marker brings up a bottom preview card with name, address,
and a description snippet. Tapping the card opens a full-screen modal
with photos, schedule, labels, and the rest. Tapping elsewhere on the
map dismisses the preview.
Marker and Map onPress are both codegen BubblingEventHandlers, so the
marker's "onPress" bubbles to the map's onPress listener — handler
calls stopPropagation() to keep the map from clearing the selection
right after.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 87e0e1b commit 2e756f6
5 files changed
Lines changed: 554 additions & 3 deletions
File tree
- src
- graphql
- __generated__
- queries
- map
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments