Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Finish Drawing on your Terms source code.tar.gz | 2017-10-05 | 125.0 kB | |
Finish Drawing on your Terms source code.zip | 2017-10-05 | 149.8 kB | |
README.md | 2017-10-05 | 875 Bytes | |
Totals: 3 Items | 275.7 kB | 0 |
Minor Changes
-
Added
finishOn
option to pass events on which to finish drawing: [#233]:::js map.pm.enableDraw('Poly', { finishOn: 'dblclick' });
-
Added possibility to pass options to the toolbar drawing buttons too. Fixes [#117]
:::js // make markers not snappable during marker draw map.pm.enableDraw('Marker', { snappable: false }); map.pm.disableDraw('Marker');
// let polygons finish their shape on double click map.pm.enableDraw('Poly', { finishOn: 'dblclick' }); map.pm.disableDraw('Poly');
Patches
- CenterMarker is not draggable anymore during Circle Draw. Fixes [#230]: [fa82ff]
Credits
Huge thanks to @themre for his PR which was the base for [#233]