mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 19:16:08 +00:00
6e9f89a25f
Mapbox GL measures its container on window resizes only. In the app on a tablet the trip's plan pane closes beside the map without one: the box grew to the full width while the canvas kept its old size, and the rest stayed black. Every GL map built through buildGlMap now watches its container and resizes once per frame while it changes; the observer goes with the map. Closes #3023