MapLibre GL Geo Editor

Advanced geometry editing control extending Geoman with Scale, Copy, Split, Union, Difference, Simplify, and Lasso selection

Basic Example

Simple setup with all editing tools. Draw polygons, lines, and points, then use advanced editing features.

Vanilla JS Draw Edit

React Integration

React component integration using GeoEditorReact with hooks and proper lifecycle management.

React TypeScript Hooks

CDN Usage

Load GeoEditor directly from CDN using ES modules. No build step required - just include the script tags.

Vanilla JS CDN ES Modules

Advanced Features

Scale - Resize features with drag handles
Copy - Duplicate features (Ctrl+C/V)
Split - Split polygons/lines with a drawn line
Union - Merge multiple polygons into one
Difference - Subtract polygon from another
Simplify - Reduce vertices (Douglas-Peucker)
Lasso - Select features by drawing polygon