Skip to content

Releases: geoman-io/leaflet-geoman

Global Options

25 Feb 15:14
Compare
Choose a tag to compare

Minor Changes

// make markers not snappable during marker draw
map.pm.setGlobalOptions({ snappable: false, });

Patches

  • CircleMarker drag gets now disabled correctly (Fixes #536): e4ec028
  • Programmatic toggle of globalEditMode correctly enables marker drag: 23f2ecd
  • Make vertex-markers non-draggable for rectangle draw. Fixes #542: 49c6612
  • Fire pm:cut AFTER changes are applied. Fixes #531: b78e762
  • Remove layer references from layergroup when they are removed. Fixes #452: d530792
  • Modes now use the "finish" label. Fixes #380: 2b20fca
  • Fixed rouned corners of buttons for leaflet 1.6: 9f59212
  • Fixed actions position for leaflet 1.6: 8ed4fed

Credits

Huge thanks to @adriankwiat, @Abbe98, and @andyprasetya for helping!

Leaflet Geoman Pro ⭐️

You can now get Leaflet-Geoman Pro and it's advanced features for commercial projects.

Opt-In to Leaflet-Geoman

06 Oct 11:39
Compare
Choose a tag to compare

Minor Changes

  • Added opt-in Functionality: #504
    You can now initiate leaflet-geoman with an opt-in functionality which basically sets pmIgnore: true as the default to all layers. See the docs for more info.

Patches

  • Upgraded to Webpack 4 & fix security issue: #500
  • Handles snapping for added shapes during draw. Fixes #477: a685d96
  • Finishing a Rectangle now respects snapped marker positions. Fixes #448: 7caad97
  • Style changes during edit mode are now properly preserved . Fixes #470: #506
  • Added migration instructions: c00b70f

Leaflet-Geoman

01 Oct 12:36
Compare
Choose a tag to compare

This release offers no new features but instead focuses on the rebranding of the library.
leaflet.pm will keep being available with version 2.2.0 on npm.
For future versions, please use leaflet-geoman-free from npm.

Check the docs for more info:
https://github.com/geoman-io/leaflet-geoman

Migrate from Leaflet.PM

npm uninstall leaflet.pm
npm i @geoman-io/leaflet-geoman-free

That's it.

CircleMarker Support and more translations

31 Aug 20:33
Compare
Choose a tag to compare

Minor Changes

  • Added CircleMarker Support: #282
  • Added more events to mode toggling: #414
    e.g. pm:globalremovalmodetoggled or pm:globaldrawmodetoggled
  • Added snapIgnore option to prevent layer as snap target: #400
  • 🇧🇷 Added brazilian portuguese translation: #475
  • 🇨🇳 Added Chinese translation: #466
  • 🇪🇸 Added Spanish translation: #442
  • 🇳🇱 Added Dutch translation: #446
  • 🇫🇷 Added French translation: #454

Patches

  • Fixed snapIgnore condition check: #478
  • Updated dependencies: #482, 347fefb

Credits

Huge thanks to @pedroalvesr, @Michiel-Idgis, @cosme-benito, @liruifengv, @AliEmreYilmaz61, @JeremyOL, @SosthenG, and @Camouflager for helping!

test

30 Aug 17:16
Compare
Choose a tag to compare
test Pre-release
Pre-release

test

teeeeest

30 Aug 17:01
Compare
Choose a tag to compare
teeeeest Pre-release
Pre-release

urgh Github Actions are messy

More tests

30 Aug 16:50
Compare
Choose a tag to compare
More tests Pre-release
Pre-release

test

Next GitHub Actions Test

30 Aug 10:02
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • Added brazilian portuguese translation: #475
  • Added more events to mode toggling: #414
  • Added CircleMarker Support: #282
  • Added Chinese translation: #466

Patches

  • Added Spanish Translation: #442
  • Added dutch translation: #446
  • Added French translation: #454
  • Bump mixin-deep from 1.3.1 to 1.3.2: #482

Credits

Huge thanks to @pedroalvesr, @Michiel-Idgis, @cosme-benito, @liruifengv, @JeremyOL, and @SosthenG for helping!

GitHub Actions Test

30 Aug 09:55
Compare
Choose a tag to compare
GitHub Actions Test Pre-release
Pre-release

Minor Changes

  • Added brazilian portuguese translation: #475
  • Added more events to mode toggling: #414
  • Added CircleMarker Support: #282
  • Added Chinese translation: #466

Patches

  • Added Spanish Translation: #442
  • Added dutch translation: #446
  • Added French translation: #454
  • Bump mixin-deep from 1.3.1 to 1.3.2: #482

Credits

Huge thanks to @pedroalvesr, @Michiel-Idgis, @cosme-benito, @liruifengv, @JeremyOL, and @SosthenG for helping!

More Tests because its so fuuuun

30 Aug 18:46
Compare
Choose a tag to compare
Pre-release

yooo