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

Using it with Leaflet.Draw #7

Open
Sandbird opened this issue Oct 2, 2018 · 1 comment
Open

Using it with Leaflet.Draw #7

Sandbird opened this issue Oct 2, 2018 · 1 comment

Comments

@Sandbird
Copy link

Sandbird commented Oct 2, 2018

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

@destus90
Copy link

destus90 commented Feb 10, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants