When toggling to globe view at a high zoom, heatmap sometimes disappears in and out while zooming
Open
Nobody has claimed this yet.
bug :lady_beetle:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
mapbox-gl-js version: 2.9.0 +
browser: All
Steps to Trigger Behavior
- Open a map with heatmap and
mercatorprojection - Zoom in past zoom level 5
- Run
map.setProjection('globe') - Zoom in and out and notice heatmap disappearing and reappearing
Expected Behavior
Expect heatmap to not disappear while zooming. Should be same behavior if runnning map.setProjection('globe) at a low zoom level on a map with heatmap (this works as expected).
Actual Behavior
Heatmap disappears while zooming in and out
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
Reproduce the issue with mapbox-gl-js 2.9.0 or later using a mercator map with a heatmap, then call map.setProjection('globe') after zooming past level 5. Compare zooming behavior with the same projection change at a low zoom level; done means the heatmap remains visible while zooming in and out in both cases.
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
- 35/100