mapbox / mapbox/mapbox-gl-draw
Incorrect Positioning of Intermediate Points When Drawing Polygons
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.3.0
**mapbox-gl-draw version**: 1.4.3
**browser**: Google Chrome
1. Access this link: [Mapbox GL Draw Example](https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/)
2. Zoom out / Pan to show America
3. Draw a polygon
4. Notice that the intermediate points are incorrectly positioned
### Actual Behavior

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 with the linked Mapbox GL Draw Example and reproduce the issue using mapbox-gl-js 3.3.0 and mapbox-gl-draw 1.4.3 in Chrome. Zoom out or pan to show America, draw a polygon, and inspect how the intermediate points are positioned. Done means those points remain correctly positioned while viewing the polygon at that extent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100