Skip to content

Removing loading image causes error #1396

@Falke-Design

Description

@Falke-Design

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 -

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions