Skip to content

Releases: geoman-io/leaflet-geoman

Hole Support

30 Aug 09:32
Compare
Choose a tag to compare

Minor Changes

Patches

Fixes and more fixes

07 Aug 06:47
Compare
Choose a tag to compare

Patches

  • pm:drawend is now fired for Markers too - Fix #182: 3d82cce
  • Used setLatlngs to update Lines and Polygons. Fixes #181: b1dfa55
  • Bounds are now correctly updated after editing a polygon: a4b094f
  • Added circle toolbar option: e9f19ff
  • Snap events aren't firing like a minigun anymore - Fix #185: f6f195a

drawstart event on markers

21 Jul 12:06
Compare
Choose a tag to compare

FIXED: When marker draw is enabled, pm:drawstart is now fired.
FIXED: Adapted Manual Install description to new workflow since Bower deprecation

Bug Fixes

20 Jul 19:20
Compare
Choose a tag to compare

FIXED: Added Polyfills for IE<12 support.
FIXED: Layer Deletion via toolbar now respects pmIgnore

Remove Event & Ignore Option

26 Jun 12:08
Compare
Choose a tag to compare
  • ADDED: pm:remove event.
  • ADDED: add pmIgnore to a layers options if you want leaflet.pm to ignore this layer
  • IMPROVED: new icon classes to not clash with css frameworks
  • IMPROVED: build is now with webpack2 instead of gulp
  • REMOVED: bower support

Circle support and more options

04 Apr 08:16
Compare
Choose a tag to compare

ADDED: Circle Support
circle support

ADDED: You can now toggle global removal mode with map.pm.toggleGlobalRemovalMode() or via Toolbar
ADDED: you can now pass custom marker options for drawing markers (see Readme)
ADDED: you can now specify finishOnDoubleClick: true to complete the shape on dblclick.
IMPROVED: Better Controls/Toolbar functions, thanks @maxamante
FIXED: manually toggling global edit mode is now reflected in the toolbar state
FIXED: a few minor bugs

Marker Improvements

13 Feb 09:29
Compare
Choose a tag to compare

circlemarker_support

ADDED: you can now snap to circleMarkers as well
ADDED: during marker draw, a marker follows the cursor to (better) show snapping points

Draw with Snaps

02 Feb 09:59
Compare
Choose a tag to compare

ADDED: precision drawing with snapping during draw. Disable with holding ALT.
snap_at_drag

FIXED: a few minor bugs.

Improved Snapping

13 Dec 16:13
Compare
Choose a tag to compare

FIXED: Edit a Polygon while Drawing Mode is enabled is now handled correctly
ADDED: Markers are now snappable to other layers and vice versa
marker-snapping
ADDED: Snapping can now get temporarily disabled by pressing ALT during drag
snapping-pause
ADDED: you can now pass custom styles for the drawn layers or add them globally as a config. See the readme - customization section for more info.

CDN Version Fix

07 Dec 12:29
Compare
Choose a tag to compare

FIXED: Readme.md now has the correct versions for CDN usage.