Leaflet-Geoman
PaketLeaflet plugin to draw and edit polygons, lines and markers
- Fiyat
- Free; Pro edition paid
- Erişim
- None
Hakkında
Leaflet-Geoman is an MIT-licensed plugin for Leaflet maps that draws, edits, drags, cuts and rotates layers such as markers, polylines, polygons, circles and rectangles. It works with GeoJSON. Split, scale and other advanced modes are in the separate paid Pro edition.
Neler yapabilirsin
- Let users draw and reshape polygons on a Leaflet map
- Cut or rotate map shapes in a browser editor
- Save edited map shapes as GeoJSON
Başlarken
- Install the package next to Leaflet
- Add the controls to your map
Örnek kod
npm install @geoman-io/leaflet-geoman-free
// import '@geoman-io/leaflet-geoman-free'
// import '@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css'
// map.pm.addControls({ position: 'topleft' })Ayrıntılar
- Barındırma
- Kendi bilgisayarında
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- JavaScript/TypeScript
- MCP sunucusu
- Yok