mapbox / mapbox/mapbox-gl-draw
Can't Edit after Draw Polygon with Terrain
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**: 3.4.0
**mapbox-gl-draw version**: 1.4.3
As the title, draw polygon working fine. Can select edit polygon vertex and add midpoint. When active terrain, CAN NOT select edit polygon vertex and add midpoint.

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 reproducing the issue with mapbox-gl-js 3.4.0 and mapbox-gl-draw 1.4.3, comparing polygon editing with terrain disabled and enabled. Investigate the terrain-related interaction path; done means polygon vertices can be selected and midpoint handles can be added while terrain is active.
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