Leaflet / Leaflet.draw

Vector drawing and editing plugin for Leaflet
https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html
MIT License
1.96k stars 992 forks source link

PolyLine _endPoint issue #962

Open isak-glans opened 4 years ago

isak-glans commented 4 years ago

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

johnd0e commented 4 years ago

Duplicate of #963 and other similar issues. Fix is here: https://github.com/Leaflet/Leaflet.draw/issues/935#issuecomment-577151194