mapbox / mapbox/mapbox-gl-draw
The ability to delete vertices on click
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
**mapbox-gl-js version**: 1.2.1
**mapbox-gl-draw version**: 1.1.2
Is it possible to delete linestring's vertices on click like it was possible in leaflet.draw?
An attempt to ask stackoverflow community is failed. (https://stackoverflow.com/questions/58012617/is-it-possible-to-delete-vertices-on-click-in-mapbox-gl-draw)

Thanks.
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 reviewing the mapbox-gl-draw vertex-editing behavior and the linked Stack Overflow question, comparing them with the referenced leaflet.draw interaction. Determine the intended click behavior and where it belongs in mapbox-gl-draw; the work is done when line-string vertices can be deleted on click and the behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100