Menu

Tree [d5d4a0] master v2.16.0 /
 History

HTTPS access


File Date Author Commit
 .github 2024-02-19 mscno mscno [038c7d] ci: investigate node 16 issue
 .husky 2023-11-21 Florian Bischof Florian Bischof [c5b238] Auto Prettier on commit (#1413)
 cypress 2024-02-15 Claudio Pilotti Claudio Pilotti [d15ba8] Makes sure rotateEnabled() always returns a boo...
 demo 2024-02-07 mscno mscno [c26d4c] change cdn import filename from leaflet-geoman....
 src 2024-02-15 Claudio Pilotti Claudio Pilotti [d15ba8] Makes sure rotateEnabled() always returns a boo...
 .editorconfig 2019-02-15 Sumit Kumar Sumit Kumar [c0ec57] changed to indent size 2
 .eslintrc 2024-02-01 mscno mscno [07e959] Updates esbuild to 8.56, prettier to 3.2.4 and ...
 .gitignore 2023-11-21 Florian Bischof Florian Bischof [c5b238] Auto Prettier on commit (#1413)
 .nvmrc 2022-12-29 Sumit Kumar Sumit Kumar [7fcd10] chore(npm): add engines and nvmrc for easier no...
 .travis.yml 2019-05-23 Sumit Kumar Sumit Kumar [70af5d] another try to fix cypress
 CODE_OF_CONDUCT.md 2021-10-10 Falke Design Falke Design [c8c9b5] Run formatter (#1003) (ignore)
 CONTRIBUTING.md 2022-12-29 Sumit Kumar Sumit Kumar [7fcd10] chore(npm): add engines and nvmrc for easier no...
 ISSUE_TEMPLATE.md 2020-05-20 Sumit Kumar Sumit Kumar [0cbe58] Fixed a comment, function and URL
 LICENSE 2017-10-05 Sumit Kumar Sumit Kumar [40862b] Create LICENSE
 README.md 2023-12-13 mscno mscno [425407] fix broken gif link
 bundle.mjs 2024-02-19 mscno mscno [921a08] build: fix bundle script to clean dist folder a...
 cypress.json 2021-10-10 Falke Design Falke Design [c8c9b5] Run formatter (#1003) (ignore)
 index.html 2024-02-07 mscno mscno [c26d4c] change cdn import filename from leaflet-geoman....
 leaflet-geoman.d.ts 2024-02-04 Florian Bischof Florian Bischof [da22fa] Add Kyrgyz translation (minor) (#1448)
 package.json 2024-02-19 mscno mscno [71060e] build: bump to 2.16.0
 pnpm-lock.yaml 2024-02-19 mscno mscno [11b83d] build: move to pnpm for package management

Read Me

Geoman Logo

Leaflet-Geoman

Leaflet Plugin For Creating And Editing Geometry Layers
Draw, Edit, Drag, Cut, Rotate, Split, Scale, Measure, Snap and Pin Layers
Supports Markers, CircleMarkers, Polylines, Polygons, Circles, Rectangles, ImageOverlays, LayerGroups, GeoJSON, MultiLineStrings and MultiPolygons

npm version NPM Downloads

Demo

Documentation

Visit geoman.io/docs to get started.

Demo

Check out the full power of Leaflet-Geoman Pro on geoman.io/demo

Feature Requests

I'm adopting the Issue Management of lodash which means, feature requests get the "Feature Request" Label and then get closed.
You can upvote existing feature requests (or create new ones). Upvotes make me see how much a feature is requested and prioritize their implementation.
Please see the existing Feature Requests here and upvote if you want them to be implemented.

Developing

Clone the repository and then install all npm packages:

npm install

Compile and run dev watch version:

npm run start

Compile and run build version:

npm run prepare

Run cypress test:

npm run test

Open cypress window:

npm run cypress

Open eslint check:

npm run lint

Take a look into CONTRIBUTING

Credit

A big thanks goes to @Falke-Design, he invests a lot of time and takes good care of Leaflet-Geoman.

Thanks to @ryan-morris for the implementation of Typescript and support with Typescript questions.

As I never built a leaflet plugin before, I looked heavily into the code of leaflet.draw to find out how to do stuff. So don't be surprised to see some familiar code.

I also took a hard look at the great L.GeometryUtil for some of my helper functions.

The Rotate Mode are only working because of the great calculation code of L.Path.Transform

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.