-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MapLibre GL JS v5.0.0 does not work with MapLibre GL Leaflet #64
Comments
Here is a simpler, front-end only replication case:
|
Can confirm the same behavior (tested on 5.0.1 rather than 5.0.0). Here's a similar (mostly minimal) reproducible example in JSFiddle: https://jsfiddle.net/fzr8dtsp/1/ |
I've looked into this, and I think the issue is happening on pan where the code in this Leaflet plugin is calling maplibre-gl-leaflet/leaflet-maplibre-gl.js Lines 176 to 184 in c7ba89c
I have logged an issue with Maplibre GL JS here: maplibre/maplibre-gl-js#5344. |
Proposal to fix this is here: #66 |
MapLibre GL JS v5.0.0 does not work with MapLibre GL Leaflet
https://plnkr.co/plunk/4iSagBIN38qRjpRT
Expected behavior
Dragging the map runs smoothly
Observed behavior
Impossible to drag
Kapture.2025-01-02.at.08.55.05.mp4
Quick fix rolling back to previous stable version
MapLibre GL JS v4.7.1 works fine with Leaflet
https://plnkr.co/plunk/aUOgRVH7nc248m1d
The text was updated successfully, but these errors were encountered: