Releases: geoman-io/leaflet-geoman
Releases · geoman-io/leaflet-geoman
Updated for Leaflet RC3 Compatibility
v0.6.6 0.6.6
Icons via CSS
Merge pull request #44 from codeofsumit/develop version bumb and dist
Publish on NPM
No new features or fixes. Just package.json changes
Handle non-polygons inside layerGroups
This release fixes an error when a non-polygon layer is part of a layergroup and therefore doesn't have leaflet.pm initialized.
Thanks to xmojmr for his PR.
Handling addData for geoJsonLayers
Merge pull request #36 from codeofsumit/develop handle addData in geojson, fixes #33
Get yourself that edit event.
pm:edit
now fires when a new marker is added to a polygon.
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.
Hintline
Bug Squashing
- First click in drawing mode works now
- New Polygon Button is now properly synced with Drawing Mode
- Edit Mode is now being disabled when the polygon is removed from the map (so the markers don't stay on the map anymore)
Button now access toggleStatus
Merge pull request #20 from codeofsumit/develop button now accepts toggle status