Leaflet / Leaflet/Path.Drag.js
Using it with Leaflet.Draw
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 30
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to implement this using Leaflet.Draw, but its not working totally correct.

I am moving the polygon to the left in this case, but the boundary markers are staying put. (marked them with grey color) When i press Save, only then they get updated, and are located to their new place when i edit the polygon again.
Have you ever tried it with Leaflet.Draw ?
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported polygon-dragging behavior with Leaflet.Draw, using the linked Leaflet.Draw documentation and the screenshot as context. Compare the boundary-marker position during dragging and before Save; the issue is done when markers update immediately and remain correct when the polygon is edited again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100