Open isak-glans opened 4 years ago
It won't end the polyLine but add another marker.
"else if (lastPtDistance < 10 && L.Browser.touch ) {"
"else if (lastPtDistance < 10 && L.Browser.touch == false) {"
Duplicate of #963 and other similar issues. Fix is here: https://github.com/Leaflet/Leaflet.draw/issues/935#issuecomment-577151194
How to reproduce
What behaviour I'm expecting and which behaviour I'm seeing
It won't end the polyLine but add another marker.
Minimal example reproducing the issue
"else if (lastPtDistance < 10 && L.Browser.touch ) {"
too :"else if (lastPtDistance < 10 && L.Browser.touch == false) {"