Path.Drag.js icon indicating copy to clipboard operation
Path.Drag.js copied to clipboard

Using it with Leaflet.Draw

Open Sandbird opened this issue 7 years ago • 1 comments

I am trying to implement this using Leaflet.Draw, but its not working totally correct. screenshot_2 I am moving the polygon to the left in this case, but the boundary markers are staying put. (marked them with grey color) When i press Save, only then they get updated, and are located to their new place when i edit the polygon again. Have you ever tried it with Leaflet.Draw ? Thanks

Sandbird avatar Oct 02 '18 15:10 Sandbird

I fixed it by disabling editing handler when dragstart event if fired and enabling it after dragend.

destus90 avatar Feb 10 '21 04:02 destus90