github geoman-io/leaflet-geoman 2.15.0
Custom Rotation, More Events & Fixes

latest release: v2.16.0
5 months ago

Minor Changes

  • Allow custom rotation point via setRotationCenter: #1362
  • Add pm:intersect event to Draw mode and refactor old intersection code: #1368
  • Add onVertexClick to Rectangle, Circle and CircleMarker: #1367

Patches

  • Auto Prettier on commit: #1413
  • Fix Norwegian translation typos (lower case): #1322
  • Update docs: #1360
  • Update persian translation: #1387
  • Update polish translation: #1365
  • Remove autofocus from Text Layers: #1409
  • Replace hard-coded Earth radius with L.CRS.Earth.R: #1406
  • Draw.Rectangle now correctly returns corners of rotated rectangle: #1373
  • Leaflet-Geoman now consistently uses crosshair as the cursor while drawing: #1410
  • [Refactor] Extends Circle from CircleMarker: #1309
  • Auto detect initial angle of Rectangle: #1370
  • Update GlobalModes for Removal and Rotate + some little fixes: #1418
  • Chore(docs): update docs website: 144c0c8
  • Chore(deps): Bump minimist from 1.2.5 to 1.2.8: #1325
  • Chore(deps-dev): Bump webpack from 5.36.2 to 5.76.0: #1335
  • Fix listen to layerremove instead of pm:remove to keep snapList updated: #1343
  • Update lint config and lint all files: 62b6ee6
  • Chore(deps-dev): Bump postcss from 8.4.5 to 8.4.31: #1403
  • Chore(deps-dev): Bump word-wrap from 1.2.3 to 1.2.4: #1381
  • Use preferred tile.openstreetmap.org URL: #1393
  • Fix disabling snapping with altKey: #1379
  • Chore(deps): Bump tough-cookie and @cypress/request: #1414
  • Chore(deps-dev): Bump @babel/traverse from 7.16.5 to 7.23.4: #1415
  • Update node version: #1420

Credits

Huge thanks to @strfx, @Falke-Design, @andreasvatne, @cksadra, @artur1989, @0scvr, @AlimurtuzaCodes, @beig, and @Dimitar5555 for helping!

Don't miss a new leaflet-geoman release

NewReleases is sending notifications on new releases.