[X] I've looked at the documentation to make sure the behavior isn't documented and expected.
[ ] I'm sure this is an issue with Leaflet, not with my app or other dependencies (Angular, Cordova, React, etc.).
[X] I've searched through the current issues to make sure this hasn't been reported yet.
[X] I agree to follow the Code of Conduct that this project adheres to.
Steps to reproduce
Thank you everyone, thank you in advance for your help. I want to track mouseover of some elements on the map (vector tiles), I'm facing a problem, I have a polygon being created when the map is initialized.
Checklist
Steps to reproduce
Thank you everyone, thank you in advance for your help. I want to track mouseover of some elements on the map (vector tiles), I'm facing a problem, I have a polygon being created when the map is initialized.
Here is the
activePolygon
configThen at some point I get a call
Following this, a canvas element appears that overlaps the entire map, and makes it impossible to track the mouseover event of the elements below it
Moreover, when I execute
this.$L.activePolygon.remove();
then the canvas still remains, still covering the entire screen sizeExpected behavior
I would like that when a polygon is deleted, the canvas is also deleted
Current behavior
Canvas
.leaflet-zoom-animated
stays the entire screen size, and covers everything, making it impossible to track eventsMinimal example reproducing the issue
No response
Environment