github geoman-io/leaflet-geoman v0.6.0
Be Aware Of The Future

  • Fixed Event Arguments
  • Fixed Issue with multiple maps on a page
  • drawing class are now ready so more shapes can be added in the future
  • buttons are now ready so more shapes can be added in the future
  • Changed drawing API - see readme

L.PM.initialize(); is no longer necessary. You can remove it.

Controls are now added like this:
map.pm.addControls();
instead of
L.PM.addControls(map);

Enabling/Disabling drawing modes changed too. Check the readme for more.

latest releases: 2.11.2, 2.11.1, 2.11.0...
5 years ago