For some reason, Chrome users sometimes view only partially-loaded maps, or the height maxes out at 300px instead of reaching the expected 500px.
How does it address the issue?
After the map loads, a resize event is fired/ Because the rest of the DOM is set, the map should now fill its proper space. To test, go to each map page on Chrome, then hard refresh, then regular refresh; the map should load normally in all 3 scenarios.
What side effects does it have?
Users with an initially-partially-loaded map will briefly notice the resize.
Resolves #368 .
Why is this change necessary?
For some reason, Chrome users sometimes view only partially-loaded maps, or the height maxes out at 300px instead of reaching the expected 500px.
How does it address the issue?
After the map loads, a
resize
event is fired/ Because the rest of the DOM is set, the map should now fill its proper space. To test, go to each map page on Chrome, then hard refresh, then regular refresh; the map should load normally in all 3 scenarios.What side effects does it have?
Users with an initially-partially-loaded map will briefly notice the resize.