mapbox / mapbox/mapbox-gl-draw
Tracking changes in draw.update
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
Hello,
I'm using draw.update event and I want to know which parts of a feature have been changed when the action is change_coordinates.
The feature collection contains the feature as is after the change, but I don't know which coordinates/vertex have changed. Is there a way to get the changed values?
Contributor guide
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 tracing the draw.update event handling for the change_coordinates action; the issue does not name a file or test. Determine how changed coordinates or vertices could be exposed alongside the post-change feature, then verify that consumers can identify the changed values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100