Map keeps shaking with percentage sizes
Jees1 opened this issue · 7 comments
Jees1 commented
a
mourner commented
According to the video, you're using Leaflet, not Mapbox GL JS.
mourner commented
@Jees1 I'm confused — the video you shared above clearly shows Leaflet, the page you linked doesn't show the map (even after resizing) because of a JS error, but the code uses Maplibre. You would need to set up a clearly reproducible live use case using GL JS for us to be able to diagnose the issue you're describing.
Jees1 commented
I updated it to that one, I will revert the changes for you.
mourner commented
Looks like you're using mapbox-gl-leaflet
plugin — transferred your issue here.
Jees1 commented
The shaking problem was fixed by updating the version. The not showing up part was fixed by removing the map from my page_content
div and moved to the body