- Fixed: map drag is restored when a polygon creation has been cancelled. See #11
- Fixed: clicking on the initial marker will sometimes break the creation loop. See #12
- Added:
activate
method, to make plugin activable externally
- Bugfix: drag event were called while user was just performing first click
- Bugfix: ghost markers were displayed in a fuzzy position after a zoom change
- Added message to help users on how to draw something
- Added: square selection during drawing phase
- Fixed: plugin was not working on mobile if dragging was disabled
- Added:
onButtonActivate
- Added:
onButtonDeactivate
- Do not ever ever ever use leaflet-src.esm. Never.
- Prevent click events on markers from being propagated to the map
- Fixed issue positioning new markers when the map is not fullscreen
- Added a
drawing-area
CSS class to the map container when plugin is active