Skip to content

Latest commit

 

History

History
73 lines (43 loc) · 3.39 KB

CHANGELOG.md

File metadata and controls

73 lines (43 loc) · 3.39 KB

Leaflet.draw Changelog

master

An in-progress version being developed on the master branch.

Improvements

  • draw:edited now returns a FeatureGroup 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

Bugfixes

  • 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.

0.2.0 (February 20, 2013)

Major new version. Added Edit toolbar which allows editing and deleting shapes.

Features

  • Consistant event for shape creation. (by @krikrou). #58

Bugfixes

0.1.7 (February 11, 2013)

  • Add sanity check for toolbar buttons when adding top and bottom classes. (by @yohanboniface). #60

0.1.6 (January 17, 2013)

  • Updated toolbar styles to be in line with the new Leaflet zoom in/out styles.

0.1.5 (December 10, 2012)

Features

  • 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

Bugfixes

  • Stopped L.Control.Draw from storing handlers in it's prototype. (by @thegreat). #37

0.1.4 (October 8, 2012)

Bugfixes

  • 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.

0.1.3 (October 3, 2012)

Bugfixes

  • 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.

Pre-0.1.3

Check the commit history for changes previous to 0.1.3.