Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

leaflet-editable

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet-editable - npm Package Versions

2

1.3.0

Diff

ybon
published 1.2.0 •

Changelog

Source

1.2.0

  • add editable:vertex:mouseover and editable:vertex:mouseout events (#159, thanks to @Git-Lior)
  • restrict large vertex icons to mobile only (cf #171, thanks to @tyrasd)
  • prevent to add a vertex on right click (cf #157)
ybon
published 1.1.0 •

Changelog

Source

1.1.0

  • compatibility with Leaflet 1.2.0
  • add editable:vertex:new event
ybon
published 1.0.0 •

Changelog

Source

1.0.0

  • BREAKING editorClass are now properly looked in editTools.options instead of map (cf #92)
  • removed Leaflet as peerDependency (cf #72)
  • fixed error in canvas due to guides being added too early (cf #80)
  • added path dragging (when Path.Drag.js is loaded)
  • allow to draw a rectangle in any direction (cf #87)
  • fixed editable:drawing:commit being fired on mousedown instead of mouseup for circle and rectangle (cf #70)
  • hide middle markers if there is not enough space
  • make possible to add new vertex on top of other paths vertex
  • leaflet 1.0 support
  • make editable:drawing:click and editable:vertex:click cancellable
  • add editable:drawing:clicked and editable:vertex:clicked events
  • add L.Editable.commitDrawing, to commit any ongoing drawing
  • AMD/UMD compliancy
  • fix middleMarker still triggering some events while not being visible
  • add map option editToolsClass, that allow to override L.Editable class to be used
  • added deleteShapeAt method
  • added events editable:shape:delete and editable:shape:deleted
  • added event editable:vertex:rawclick
  • added splitShape method
  • added appendShape method
  • added Vertex.continue, as a shortcut to continueBackward / continueForward
  • removed newClickHandler, now relying only on mousedown/mouseup event (simpler touch support)
  • added editable:drawing:move
  • added drawingCursor option to L.Editable
  • added editable:vertex:metakeyclick event
  • reenable edit if the layer was active when removed from the map
  • only add created feature to the map at first user click (instead of adding it at startMarker/startPolygon call)
  • added editable:drawing:mousedown and editable:drawing:mouseup events
  • added support for L.Rectangle and L.Circle drawing and editing
  • do not try to extend Leaflet classes not exposed (cf #83)
ybon
published 1.0.0-rc.2 •

ybon
published 1.0.0-rc.1 •

ybon
published 0.7.0-beta.1 •

ybon
published 0.6.2 •

ybon
published 0.6.1 •

ybon
published 0.6.0 •

2
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc