Skip to content

Releases: geoman-io/leaflet-geoman

Updated for Leaflet RC3 Compatibility

17 Aug 13:54
Compare
Choose a tag to compare

Icons via CSS

17 Aug 09:07
Compare
Choose a tag to compare
Merge pull request #44 from codeofsumit/develop

version bumb and dist

Publish on NPM

17 Aug 08:31
Compare
Choose a tag to compare

No new features or fixes. Just package.json changes

Handle non-polygons inside layerGroups

23 Jul 20:41
Compare
Choose a tag to compare

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

31 May 07:16
Compare
Choose a tag to compare
Merge pull request #36 from codeofsumit/develop

handle addData in geojson, fixes #33

Get yourself that edit event.

11 Mar 21:01
Compare
Choose a tag to compare

pm:edit now fires when a new marker is added to a polygon.

Be Aware Of The Future

28 Feb 00:22
Compare
Choose a tag to compare
  • 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

21 Feb 18:11
Compare
Choose a tag to compare
  • Added a line from the mouse cursor to the last polygon point to see what will be drawn after click.

image

Bug Squashing

21 Feb 00:14
Compare
Choose a tag to compare
  • 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

18 Feb 16:34
Compare
Choose a tag to compare
Merge pull request #20 from codeofsumit/develop

button now accepts toggle status