Skip to content
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

Library conflicts after leaflet.freedraw upgrade #193

Open
ventralnet opened this issue Dec 21, 2022 · 1 comment
Open

Library conflicts after leaflet.freedraw upgrade #193

ventralnet opened this issue Dec 21, 2022 · 1 comment

Comments

@ventralnet
Copy link
Contributor

Upgrading leaflet from 2.9.0 to 2.12.0 it seems free draw is conflicting with other plugins that override L.Control through L.Control.extend

I tried to debug further but for some reason my map files for freedraw aren't working. I will update this ticket later with a work reproduction

If free draw is imported first everything seems to run smoothly

@ventralnet
Copy link
Contributor Author

I finally looked into this. It is because with the current build Leaflet core is included in the dist bundles. This could mess up mixin style plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant