Leaflet.draw icon indicating copy to clipboard operation
Leaflet.draw copied to clipboard

Resizing in active edit mode

Open kalutkaz opened this issue 2 years ago • 0 comments

Hi.

I have a question about edit mode. When we active edit mode and after that triggered resizing event (in my case, the entire logical block with the map becomes smaller) the edit points don`t change position.

image I think the problem is that the map changes its size, but the edit points don't recalculate their coordinates for the smaller map.

Does leaflet have some way to change the position for edit markers after resizing? Or is their position calculating once, when we active edit mode?

kalutkaz avatar Jul 05 '22 08:07 kalutkaz