optimize projections with more precise tile cover
@ansis is already working on this.
Since Nov 17, 2021.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Non-mercator projections are slower to load than mercator at higher zoom levels. `winkelTripel` is roughly ~17% slower in our benchmarks. It looks like most of this is caused by [imprecise bounds checking](https://github.com/mapbox/mapbox-gl-js/blob/107a5256bebb4d06c6fb073618632d865e48e5b9/src/geo/transform.js#L747-L760), which leads to loading tiles that are entirely offscreen. This affects both loading and rendering performance.
Mercator maps are not affected by this.

cc @mourner
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.
Assessment
This issue has not been assessed yet.