github geoman-io/leaflet-geoman 1.0.1
Stability

latest releases: v2.16.0, 2.15.0, 2.14.2...
5 years ago

Breaking Changes

  • pm:cut event now returns one resultingLayer as layer which is a MultiPolygon, not an array of layers inside resultingLayer: bf16348
  • pm:cut event layer and original layer properties keys change: 923bec8

Major Changes

  • Add Cypress Testing Suite, Fixes #210: #307
    Seriously, this is a big deal. After years of releasing with fear - we can now build and release with some confidence thanks to the awesome work of the cypress team.

Minor Changes

  • Add a snapdrag event for getting snap point: #343
  • You can now snap to middle of segments: #314
  • The Hintline style properly resets now. Fixes #333: #340

Patches

  • GeoJSON precision changed to 15 digits after decimal: #306
  • Fixed Draw Circle for mobile. Closes #263: 808eeb6
  • Circle options are now properly handled after draw: #313
  • Add new vertices at correct index: #319
  • Updated turf: 700699c
  • Fix a bug where FeatureCollection with Circles weren't editable: #348
  • Fixed dependency vulnerabilities: ffd23ad
  • Fixed a bug where circles within featureGroups can't be edited multiple times: 4f47e78
  • Single-Coord Line/Polys now can't be finished during draw: #349
  • Changed "MultiPolyline" to "MultiLineStrings": b5d5af6
  • Fixed draw rectangle for mobile: ca8d967

Demo

Check out the new capabilities on Geoman

Credits

Huge thanks to @mohammedzamakhan, @KenAlin, and @gorunovanton for helping!

Small Versioning Note

2 years ago I (probably accidentally) released a 1.0.0 version on npm. I can't override it so I had to publish as 1.0.1 :-)

Don't miss a new leaflet-geoman release

NewReleases is sending notifications on new releases.