Open bram2000 opened 2 years ago
Thanks for opening your first issue here! Please follow the issue template to help us help you 👍🎉😄 If you have screenshots to share demonstrating the issue, that's really helpful! 📸 You can make a gif too!
I've even tried locally using a simple index.html
file but get the same error.
Hi, can you share a link to the fiddle you're using? It should be almost identical to the examples like https://publiclab.github.io/Leaflet.DistortableImage/examples/, but we should check the order of script tags, the version of Leaflet, and how you're initializing the library. Thanks!
Looks like this happens if you import leaflet-distortableimage
before leaflet-toolbar
.
I don't know js but I would have thought this library should probably import leaflet-toolbar
somewhere before using it to make sure it is patched in.
Scope: I'd like to play with this library using jsfiddle.net or similar, but I can't figure out how to make it work.
Description: I've tried simply using
<script src=...>
to load in the.js
as I do with other leaflet plugins, but It doesn't seem to work. I'm constantly getting the following error in console:It's very hard to debug further due to the minified javascript.
Thanks!