The map is partially loading

37 views
Skip to first unread message

Pascal Boulesteix

unread,
Apr 5, 2025, 9:23:40 AMApr 5
to Leaflet
Hello everyone,
In the test page below, when you click on an observation, the map contained in a div with a marker at the observation's coordinates is displayed, but the map is truncated, showing three-quarters of it in a gray background.
If you click the full-screen button, the map is displayed correctly, and when you return to the "normal" view, the gray areas of the map are correctly displayed.
Any ideas on how to fix this?

Pascal Boulesteix

unread,
Apr 6, 2025, 1:15:18 PMApr 6
to Leaflet
Hi all
I think I found why it wasn't working: I wasn't making the modal div visible until after the map was processed. Now, I'm displaying the div before the map settings.
Reply all
Reply to author
Forward
0 new messages