mapbox / mapbox/tilelive-vector
Dont underzoom
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 72
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
If you disrespect the advertized minzoom, you'll still get back a vtile with minzoom params here:
https://github.com/mapbox/tilelive-vector/blob/master/backend.js#L62
Leading to all sorts of wackiness.
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 backend.js around line 62, where the issue reports that vtiles still receive minzoom parameters despite the advertised minimum zoom. Trace how minzoom is handled there and determine the expected behavior for requests below that minimum. Done means such requests no longer produce the reported wackiness; no test file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100