Map block: Google and Apple Maps buttons, a zoomable picture, links land at the map's top

Migration 091 adds google_maps_url and apple_maps_url to
venue_locations, shown as buttons at the right of each location's
row. The picture zooms (1x to 4x) and scrolls in its box. A link to a
location now scrolls to the top of the map block, not the mark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-11-11 03:04:14 -06:00
parent 8a79206998
commit 6a0271efd9
6 changed files with 128 additions and 12 deletions

View file

@ -66,6 +66,16 @@ export const venues = {
full: true,
help: "Click the map for a pin, or drag out a box for an area. Default: listed, not marked.",
},
{
path: "google_maps_url",
label: "Google Maps link",
help: "eg. https://maps.app.goo.gl/... Shown as a button beside it. Default: none",
},
{
path: "apple_maps_url",
label: "Apple Maps link",
help: "eg. https://maps.apple.com/?... Shown as a button beside it. Default: none",
},
],
},
],

View file

@ -82,6 +82,9 @@ export type VenueLocation = {
y?: number | null
w?: number | null
h?: number | null
/** The place in Google and Apple Maps (091). */
google_maps_url?: string | null
apple_maps_url?: string | null
}
/** An event an item names (088): an events block's card, or the