- 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.