📄️ Modes
Overview of Leaflet-Geoman editing modes. Only one mode can be active at a time. Enable modes programmatically or via the toolbar.
📄️ Draw Mode
Draw markers, polygons, polylines, circles, rectangles, and text on the map. Covers all draw options, snapping, events, and styling.
📄️ Edit Mode
Edit existing layers by moving vertices, adding or removing points, and configuring snapping. Covers global and per-layer edit options and events.
📄️ Drag Mode
Drag layers across the map. Enable globally or per-layer with sync options for coordinated layer movement.
📄️ Removal Mode
Remove layers from the map by clicking them. Enable globally with removal events and undo support.
📄️ Cut Mode
Cut holes in polygons and lines by drawing a cutting shape. Supports circle-shaped cutting. Covers cut mode methods, options, and events.
📄️ Rotation Mode
Rotate layers on the map. Enable globally or per-layer with configurable rotation angle and events.
📄️ Split Mode ⭐
Split polylines and polygons by drawing a cutting line. Pro feature with split methods and events.
📄️ Scale Mode ⭐
Scale layers with center or corner origin. Supports uniform and non-uniform scaling with keyboard modifiers. Pro feature.
📄️ Union Mode ⭐
Merge two polygon or multipolygon layers into one unified shape. Pro feature with union methods and events.
📄️ Difference Mode ⭐
Subtract one polygon from another to create difference geometry. Pro feature with methods and events.
📄️ Copy Layer Mode ⭐
Copy existing layers on the map. Pro feature to duplicate geometry layers with their properties preserved.
📄️ Line Simplification Mode ⭐
Simplify polyline and polygon geometry by reducing vertex count. Pro feature with configurable tolerance.
📄️ Custom Shapes Mode ⭐
Draw predefined custom shapes like stars and other complex geometries. Pro feature.
📄️ Lasso Select Mode ⭐
Select multiple layers at once by drawing a freehand lasso selection area. Pro feature.
📄️ Freehand Drawing Mode ⭐
Draw freehand polylines and polygons with smooth mouse or touch input. Pro feature.