Socket
Socket
Sign inDemoInstall

leaflet-draw

Package Overview
Dependencies
0
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous12

0.3.2

Diff

ddproxy
published 0.3.0 •

Changelog

Source

0.3.0 (March 09, 2016)

Improvements

  • Add support for touch devices
  • Corrected license
  • Linter

Bugfixes

  • Added mouse handlers
  • Fixed event listener leaks in Polyline
  • Edit vertex event
ddproxy
published 0.2.4 •

Changelog

Source

0.2.4 (February 04, 2014)

Improvements

  • Add support for toolbar touch styles. (by @alanshaw). #269
  • Add support for maintaining a layers color when entering edit mode.
  • Add support for showing area when drawing a rectangle.
  • Refactor marker editing to bring in line with path editing handlers. Decouple setting editing style from edit toolbar. (by @manleyjster). #323
  • Prevent skewing on selected edit marker. (by @kyletolle). #341
  • Add support for changing the 'Radius' label text.

Bugfixes

  • Fix deleted layers LayerGroup constructor type. (by @w8r ). #334
jacobtoye
published 0.2.3 •

Changelog

Source

0.2.3 (January 14, 2014)

Improvements

  • Restrict editing polygons so that at least 3 points are present. (by @Zverik). #200
  • Tooltips initially start hidden until the mouse has been moved. (by @Zverik). #210
  • Fixup spelling errors. (by @nexushoratio). #223
  • Combine ie specific style within leaflet.draw.css stylesheet. (by @frankrowe). #221
  • Improve my terrible engrish. (by @erictheise). #237
  • Fire editstart events when a poly or simple shape is initially edited. (by @atombender). #245
  • Add ability to add a new vertex to a polyline or polygon hander.
  • Added ability to remove/undo the last placed point for polyline or polygons. (by @Zverik). #242
  • Dynamically position the action toolbars. (by @DevinClark). #240
  • Improve polyline/polygon drawing by accepting some motion on click. (by @atombender). #249
  • Only draw a limited number of guide dashes to improve performance in some rare cases. #254

Bugfixes

  • Fix edit toolbar so diabled state is represented correctly. (by @joeybaker). #203
  • Fixed path middle marker positions. (by @Zverik). #208
  • Fix issue where toolbar buttons would have focus after clicked so couldn't use escape to cancel until clicked map at least once.
  • Fix toolbar icons for retina displays. (by @dwnoble). #217
  • Ensure that options are not shared between draw handler classes. (by @yohanboniface). #219
  • Fix bug where multiple handlers could be active. (by @manubb). #247
jacobtoye
published 0.2.2 •

Changelog

Source

0.2.2 (October 4, 2013)

Improvements

  • Refactored the L.drawLocal' object to be better structured and use this object whereever text is used. *NOTE: THIS IS A NEW FORMAT, SO WILL BRESK ANY EXISTING CUSTOM L.drawLocal` SETTINGS*.
  • Added Imperial measurements to compliment the existing Metric measurements when drawing a polyline or polygon.
  • Added draw:editstart and draw:editstop events. (by @bhell). #175
  • Added repeatMode option that will allow repeated drawing of features. (by @jayhogan and @cscheid). #178
  • Added abilit to set circle radius measurement to imperial units.
  • Added disabled state for edit/delete buttons when no layers present. (inspired by @snkashis). #136
  • Add showLength and showRadius options to circle and polyline. (by @Zverik). #195
  • Add option to disable tooltips. (by @Zverik). #196

Bugfixes

  • Fixed bug where edit handlers could not be disabled.
  • Added support for displaying the toolbar on the right hand side of the map. (by @paulcpederson). #164
  • Add flexible width action buttons. (by @Grsmto). #181
  • Check for icon existence before disabling edit state. (by @tmcw). #182
  • Only update guideslines when guidelines are present. (by @jayhogan). #188
  • Fixes to localization code so it can be correctly set after files have been loaded.
  • Fix for firing draw:edit twice for Draw.SimpleShape. (by @cazacugmihai). #192
  • Fix last edit menu buttons from wrapping. (by @moiarcsan). #198
jacobtoye
published 0.2.0 •

Changelog

Source

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc