No description
  • JavaScript 96.9%
  • CSS 2.9%
  • HTML 0.2%
Find a file
Matt 35e2921615 feat(map): Add state/province boundary lines at z4-z7
Fix D: State and province administrative boundaries are now visible
at low zoom levels (z4-z7) with theme-aware styling.

- Added STATE_BOUNDARIES_LAYER constant
- Added addStateBoundaries() function that creates a line layer
  filtering on kind_detail = 4 (state/province level)
- Uses dashed line style with opacity interpolation
- Layer uses theme boundaries color for consistency
- Layer is re-added on theme change to update colors

The layer renders below labels and provides subtle but visible
state/province boundaries when zoomed out viewing country-level
maps. Line width and opacity increase as you zoom in from z4 to z7.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-02 19:06:33 +00:00
frontend feat(map): Add state/province boundary lines at z4-z7 2026-05-02 19:06:33 +00:00