🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers
This is only relevant for projects using very old versions of babel/webpack loaders
This version introduces new build tools in the library build toolchain. More specifically we have swapped webpack for eslint. This has improved our build speeds and made the build pipeline simpler and easier to maintain going forward. However the move to esbuild has also caused the library build assets (minified js files) to be compiled using a more modern version of ECMAScript. The current build files now use the optional chaining ?. syntax and this can cause issues with projects using older versions of webpack/babel or similar loaders.
If you face issues with upgrading to version v2.16.0 we suggest that you upgrade your own loaders and build toolchain to a version compatible with modern ECMAScript syntax.
Huge thanks to @Falke-Design, @xiyuvi, @strfx and @plainheart for helping!
Full Changelog: https://github.com/geoman-io/leaflet-geoman/compare/2.15.0...2.16.0
setRotationCenter
: #1362pm:intersect
event to Draw mode and refactor old intersection code: #1368L.CRS.Earth.R
: #1406Huge thanks to @strfx, @Falke-Design, @andreasvatne, @cksadra, @artur1989, @0scvr, @AlimurtuzaCodes, @beig, and @Dimitar5555 for helping!
setInitAngle
option for rectangles: #1260setStyle
to Draw class to update style of currently drawn shape: #1290Huge thanks to @masysma, @sundo-dylan, and @Falke-Design for helping!
Huge thanks to @SuperPat45, @ByMykel, @Falke-Design, @TurtIeSocks, @drzhbe, @wvddrss, @na3shkw, and @cksadra for helping!
Huge thanks to @Falke-Design, @jtsamper, and @vvlladd28 for helping!
pm:dragenable
, pm:dragdisable
, pm:change
: #1112Huge thanks to @Falke-Design and @vvlladd28 for helping!
pm:update
after marker is edited: #1044Huge thanks to @mcepo, @Falke-Design, and @lmachens for helping!
isAltKeyPressed
if window change was done by ALT+TAB: #999L.PM.Utils.pxRadiusToMeterRadius
: #1007Huge thanks to @Falke-Design, @tirli, and @mariejoechahine for helping!