-
Notifications
You must be signed in to change notification settings - Fork 69
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
Leaflet draw not snap features with latest release #52
Comments
I added these three lines of code and everything works now |
Same for me with:
Adding @madinaxd three lines of code works to activate snap but the click remains allowed outside the snap target so the lines are disjoint. |
Did you guys find a fix for this? @SergeBouchut @madinaxd @ToDentru |
Same for me:
The Leaflet.Draw snapping demo doesn't seem to work either |
@daz I managed to get it working, but it's not pretty. I forked both leaflet draw and leaflet snap. I then found this I then removed the hooks the leaflet snap creates, and I replaced then with internal method calls. E.g. in the I did the same with the disabled methods. |
Hi guys, i need use the plugin with Leaflet v1.4.0 and Leaflet.Draw v1.0.4, but when add new feature from draw toolbar...the snap function don't activate from existent features. I try use your test page...updating only Leaflet and Leaflet.Draw...but no success. No console errors or warnings...absolutely silence mode. Exists the possibility of the new build with compatibility? When?
The text was updated successfully, but these errors were encountered: