`setTerrain` forces map zoom when panning to poles in globe projection
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**mapbox-gl-js version**: [v2.9.0-beta.2](https://github.com/mapbox/mapbox-gl-js/releases/tag/v2.9.0-beta.2)
**browser**: v101.0.4951.64
### Steps to Trigger Behavior
1. [Add terrain](https://docs.mapbox.com/mapbox-gl-js/example/add-terrain/) with a globe projection
2. Pan to north pole
3. More exaggerated terrain causes greater zooms
### Link to Demonstration
https://codepen.io/willymaps/pen/oNEaKKG
### Actual Behavior
https://user-images.githubusercontent.com/12721145/172961996-86c5a6bb-3b9a-4a0e-ab3c-c8dfc239ffab.mov
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 behavior in the linked CodePen using the add-terrain example, globe projection, and a pan toward the north pole. Compare the zoom behavior with different terrain exaggerations; done means panning to the poles no longer forces increasing zoom in globe projection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics, frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100