mapbox / mapbox/mapbox-gl-js

White poles appearing during globe-mercator transition

Open
#12,167 1 comment 1 reaction 0 assignees View on GitHub

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**: Tested in Chrome

### Steps to Trigger Behavior

1. Open http://localhost:9966/debug/index.html#5.12/84.48/62.69/0/85 in chrome
2. Run `map.setProjection('globe')`
3. Note poles as white.

*If difficulty reproducing, widen window and slowly zoom in / out during the globe/mercator transition.

### Link to Demonstration

### Actual Behavior

Screen Shot 2022-08-12 at 5 13 36 PM
Screen Shot 2022-08-12 at 5 11 59 PM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue from debug/index.html#5.12/84.48/62.69/0/85 in Chrome, then call map.setProjection('globe') and zoom during the globe/Mercator transition. Trace the projection and rendering path responsible for the poles; done means the transition no longer displays white poles.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.