Skip to content

fix(dashboard): lock map world bounds, keep dark CARTO basemap on theme - #3184

Merged
Xore merged 1 commit into
mainfrom
dsa-r2-map-dark
Sep 13, 2026
Merged

Xore merged 1 commit into
mainfrom
dsa-r2-map-dark

Conversation

@Xore

@Xore Xore commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Dark CARTO basemap selected by existing theme hook (system resolved via prefers-color-scheme, live toggle re-paints)
  • World bounds locked (maxBounds, noWrap) so the zoom-2 "World" reset no longer clips at the antimeridian
  • Light/OSM path unchanged

Test plan

  • Verified zoom-2 world reset no longer clips
  • Verified dark/light theme toggle repaints basemap correctly

…on theme

World bounds now use maxBounds with noWrap so the zoom-2 world reset no
longer clips at the antimeridian. Dark theme continues to resolve via the
existing theme hook (prefers-color-scheme, live toggle repaints); light/osm
path is unchanged.
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@Xore
Xore merged commit 1a0a829 into main Sep 13, 2026
109 checks passed
@Xore
Xore deleted the dsa-r2-map-dark branch September 13, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant