Fix debug tile ID rendering for projected tiles
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**:
`projections`
**browser**:
any
### Steps to Trigger Behavior
1. Open `projections.html` debug page
2. Turn on `map.showDebugTiles`
### Expected Behavior
Tile IDs should be in the upper left corner (or the approximate equivalent) and rendered in the proper size
### Actual Behavior
Tile IDs are rendered in their Mercator positions still and the sizes can be wrong (possibly due to tile loading issues?)
*note the tile boundary to the left of these tile IDs*
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 the projections.html debug page and reproduce the issue with map.showDebugTiles enabled. Trace how projected tile IDs are positioned and sized, then verify that the IDs appear in the upper-left area at the proper size rather than in Mercator positions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100