mapbox / mapbox/tilelive-vector

Dont underzoom

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.