Skip to content

Releases: geoman-io/leaflet-geoman

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

Fixed Icon URL for Controls

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

icon url is not added to button

added L.PM.disableDraw(map)

18 Feb 11:07
Compare
Choose a tag to compare
Merge pull request #17 from codeofsumit/develop

added disableDraw method to L.PM

Draw Mode API

18 Feb 09:52
Compare
Choose a tag to compare

enable drawmode via:

L.PM.enableDraw({
  map: map
});

disable via:

map.disableDraw();

Fix New Poly

15 Feb 08:32
Compare
Choose a tag to compare
Merge pull request #15 from codeofsumit/develop

fix newPoly

Fix Bower

10 Feb 11:22
Compare
Choose a tag to compare

CSS files is now correctly included

Bower

10 Feb 11:02
Compare
Choose a tag to compare

This release makes this package available via bower install leaflet.pm