github geoman-io/leaflet-geoman v0.21.0
Finish Drawing on your Terms

Minor Changes

  • Added finishOn option to pass events on which to finish drawing: #233
    js'Poly', { finishOn: 'dblclick' });
    finishon event2
    - Added possibility to pass options to the toolbar drawing buttons too. Fixes #117
    js // make markers not snappable during marker draw'Marker', { snappable: false });'Marker'); // let polygons finish their shape on double click'Poly', { finishOn: 'dblclick' });'Poly');


  • CenterMarker is not draggable anymore during Circle Draw. Fixes #230:


Huge thanks to @themre for his PR which was the base for #233

latest releases: 2.11.2, 2.11.1, 2.11.0...
3 years ago