Skip to content

Global Options

Compare
Choose a tag to compare
@codeofsumit codeofsumit released this 25 Feb 15:14

Minor Changes

// make markers not snappable during marker draw
map.pm.setGlobalOptions({ snappable: false, });

Patches

  • CircleMarker drag gets now disabled correctly (Fixes #536): e4ec028
  • Programmatic toggle of globalEditMode correctly enables marker drag: 23f2ecd
  • Make vertex-markers non-draggable for rectangle draw. Fixes #542: 49c6612
  • Fire pm:cut AFTER changes are applied. Fixes #531: b78e762
  • Remove layer references from layergroup when they are removed. Fixes #452: d530792
  • Modes now use the "finish" label. Fixes #380: 2b20fca
  • Fixed rouned corners of buttons for leaflet 1.6: 9f59212
  • Fixed actions position for leaflet 1.6: 8ed4fed

Credits

Huge thanks to @adriankwiat, @Abbe98, and @andyprasetya for helping!

Leaflet Geoman Pro ⭐️

You can now get Leaflet-Geoman Pro and it's advanced features for commercial projects.