Leaflet / Leaflet/Path.Drag.js

Using it with Leaflet.Draw

Open
#7 1 comment 1 reaction 0 assignees View on GitHub

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.
screenshot_2
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.