An in-progress version being developed on the master branch.
draw:edited
now returns aFeatureGroup
of features edited. (by @jmkelly). #95- Circle tooltip shows the radius (in m) while drawing.
- Added Leaflet version check to inform developers that Leaflet 0.6+ is required.
- Added ability to finish drawing polygons by double clicking. (inspired by @snkashis). #121
- Added test environment. (by @iirvine). #123
- Added
L.drawLocal
object to allow users to customize the text used in the plugin. Addresses localization issues. (by @Starefossen). #87 - Added ability to disable edit mode path and marker styles. (inspired by @markgibbons25). #121
- Fixed issue where removing a vertex or adding a new one via midpoints would not update the edited state for polylines and polygons.
- Fixed issue where not passing in the context to
off()
would result in the event from not being unbound.(by @koppelbakje). #95 - Fixed issue where removing the draw control from the map would result in an error.
- Fixed bug where removing points created by dragging midpoints would cause the polyline to not reflect any newly created points.
- Fixed regression where handlers were not able to be disabled.(by @yohanboniface). #139
Major new version. Added Edit toolbar which allows editing and deleting shapes.
- Fixed adding markers over vector layers. (by @Starefossen). #82
- Add sanity check for toolbar buttons when adding top and bottom classes. (by @yohanboniface). #60
- Updated toolbar styles to be in line with the new Leaflet zoom in/out styles.
- Added 'drawing-disabled' event fired on the map when a draw handler is disabled. (by @ajbeaven). #35
- Added 'drawing' event fired on the map when a draw handler is actived. (by @ajbeaven). #30
- Fixed a bug that would cause an error when creating rectangles/circles withought moving the mouse. (by @inpursuit). #25
- Fixed a bug that would cause an error when clicking a different drawing tool while another mode enabled. (by @thegreat). #27
- Fixed control buttons breaking plugin in oldIE.
- Fixed drawing polylines and polygons in oldIE.
- Tip label will now show over vertex markers.
- Added ability to draw on top of existing markers and vector layers.
- Clicking on a map object that has a click handler no longer triggers the click event when in drawing mode.
Check the commit history for changes previous to 0.1.3.