Issue 767
feat: a map block you fill in from the CMS, for any neighborhood
Back to our planNot planned
enhancementfrontendcmspriority: medium
Summary
A map block where an editor enters the areas of any neighborhood (a name, a color, an outline) and the page draws a map people can zoom. It would replace the Google embed from #764 and work for any neighborhood without touching code.
Details
- Areas stored as GeoJSON in the CMS (Payload has native
pointandjsonfields), each with a label; a starting center and zoom. - Free engine to check first: MapLibre with OpenFreeMap tiles (no key, no billing). Colors come from theme tokens; light and dark both checked.
- Native first, then plugins, then our code: findings to be recorded here before any custom code.
- Loads tiles from a map service, so the privacy note changes; decide whether it loads on tap like #764.
- Boundary data must come from the City of Madison layer, with its source and date noted.
Acceptance criteria
- An editor adds a map block, enters or pastes areas and labels, and sees them on the page.
- Zoom and pan work on a phone; labels are small and tidy; the boundary line is thin.
- No key, no billing, no new cost.
- Knowledge notes and privacy text describe it.
Files likely touched
src/modules/site/ (block, mapper, UI), src/platform/ui/, src/migrations/, package.json.
Must not touch
None.
Follow-up to #764; the idea came from the owner on 2026-11-06 (Claude Code session, text).
Generated by Claude Code, opens in a new tab