Improve symbol fading stability under 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**: v2.6.0
### Steps to Trigger Behavior
Slowly zoom in with equal earth (not tested on other non-mercator projections), and notice slight fade/in out at regular zoom threshold intervals. This may be due to slight differences of projection during the shear transitions that leads to the symbol occluding against itself.
### Link to Demonstration
#### Equal-earth
https://user-images.githubusercontent.com/7061573/142489360-6c170693-2eb7-4836-a013-b3c23b18db38.mov
#### Mercator
https://user-images.githubusercontent.com/7061573/142489343-8173f005-efaf-4339-8bf1-456168b39ae4.mov
### Expected behavior
Labels fading remain stable/doesn't fade between zoom level if the geolocation is the same, similar to mercator.
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 with the linked Equal-earth and Mercator demonstrations while slowly zooming at a fixed geolocation. Compare symbol fading across the projection's zoom transitions; done means labels remain stable between zoom levels under Equal-earth as they do under Mercator.
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
- Mostly clear
- Newbie friendliness
- 35/100