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

Removing loading image causes error #1396

Open
Falke-Design opened this issue Jun 22, 2024 · 1 comment · May be fixed by #1397
Open

Removing loading image causes error #1396

Falke-Design opened this issue Jun 22, 2024 · 1 comment · May be fixed by #1397
Labels

Comments

@Falke-Design
Copy link

Describe the bug:
Removing the image before the loading of the image has been finished causes an error in the load listener.
grafik

Reproduce the behavior:

img = L.distortableImageOverlay('example.jpg').addTo(map);
img.removeFrom(map)

Browser, version, and operating system:

  • Browser Firefox -
  • Version 126.0.1 -
  • Platform: Windows -
Copy link

welcome bot commented Jun 22, 2024

Thanks for opening your first issue here! This space is protected by our Code of Conduct - and we're here to help.
Please follow the issue template to help us help you 👍🎉😄
If you have screenshots or a gif to share demonstrating the issue, that's really helpful! 📸
You can make a gif too!
Do join our Gitter channel for some brainstorming discussions.

@Falke-Design Falke-Design linked a pull request Jun 22, 2024 that will close this issue
Falke-Design added a commit to Falke-Design/Leaflet.DistortableImage that referenced this issue Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant