Box-zoom / Fit screen coordinates isn't working with non-mercator projections
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**: 2.6.0-beta.2
**browser**:Any
### Steps to Trigger Behavior
1. Use `http://localhost:9966/debug/heatmap.html`
2. Use box zoom or fit screen coordinates with a slight pitch
### Behavior
- These APIs make use of the FreeCamera interface, which isn't supported by non-mercator projections
- A warning is issued but the behavior isn't fully a no-op

https://user-images.githubusercontent.com/7061573/140563414-db0d592d-9fd8-4896-83bf-0e8f59318599.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 with debug/heatmap.html and the box-zoom and fit-screen-coordinates entry points, then trace how they use the FreeCamera interface under non-mercator projections. Reproduce the issue with a slight pitch and verify that the warning and resulting behavior are consistent with FreeCamera being unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100