Skip to content

Conversation

@Falke-Design
Copy link
Collaborator

Makes Geoman compatible with ESM Modules and the new Leaflet V2 changes

Biggest changes:

  • No global L and L:PM anymore
  • Geoman needs to be activated Geoman.initialize()
  • Uses PointerEvents
  • Removes polyfills
  • Renames Line to Polyline
  • Renames all pm uses to geoman (map.geoman, map.on('geoman:create')
  • Removes deprecated methods / properties
  • Renames methods to handle public & private correctly
  • Rename markerdrag events to vertrexdrag
  • Changes css classes. Prefix leaflet-geoman added
  • Rectangle now uses templineStyle while drawing
  • Rename draggable and snappable to allowDragging & allowSnapping
  • Disables default ture of continueDrawing for Markers & CircleMarkers
  • removeLastVertex is now a public method

@Falke-Design Falke-Design added this to the 3.0 milestone Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant