Leaflet / Leaflet.draw

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

Too many events fire drawing #1022

Closed AllNickNamesAreBusySoITakenThis closed 3 years ago

AllNickNamesAreBusySoITakenThis commented 3 years ago

Hi there! By default LMB click, RMB click and MMB click on map in polyline drawing mode cause adding new vertex. Is it possible to add new vertex only by clicking left mouse button?

AllNickNamesAreBusySoITakenThis commented 3 years ago

This answer solved my problem