ShowTileBoundaries doesn't show TMS coordinates
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
If you have a TMS vector tile source, but use map.showTileBoundaries = true, you only see the Mapbox/OSM tile numbers, not the TMS tile numbers.
This can be confusing, and is a problem if you're trying to use the displayed tile numbers to navigate towards a particular tile. (That's one of the main use cases for showTileBoundaries for me).

Possible solutions:
- if there are any vector tile layers with
scheme: 'tms', also display the TMS tile coordinates (maybe smaller, maybe prefixed by 'TMS') - allow this:
map.showTileBoundaries = 'tms'
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 at the map.showTileBoundaries handling and trace how vector tile sources expose their scheme. Determine how TMS coordinates should be displayed alongside or instead of Mapbox/OSM coordinates, then verify that a TMS source makes the displayed tile numbers useful for navigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100