Skip to content

Promote to production: map resize fix - #103

Merged
slaveofcode merged 2 commits into
mainfrom
develop
Aug 1, 2026
Merged

Promote to production: map resize fix#103
slaveofcode merged 2 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Fixes blank maps (MapLibre 0x0 container race).

🤖 Generated with Claude Code

Kresna and others added 2 commits August 1, 2026 21:57
The map is created inside a dynamically-imported island, so its container can be
laid out AFTER the map initializes — MapLibre then captures a 0x0 size and renders
blank (zoom controls work, but no tiles). Add a ResizeObserver on the container +
map.resize() on load across all three map tools.
fix(maps): resize the map so tiles render (was blank at 0x0)
@slaveofcode
slaveofcode merged commit 111a239 into main Aug 1, 2026
2 of 3 checks passed
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