Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Interpolate vector tiles when source does not return tiles for given zoom level #160

Open
SebastianOsinski opened this issue Feb 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@SebastianOsinski
Copy link

Configuration

Mapbox SDK versions: 5.6.0
iOS/macOS versions: 11.0 - 13.3
Device/simulator models: All
Xcode version: 11.3.1

Hi!
Is it possible to configure MGLMapView in such way that it would ignore lack of some tiles at specific zoom and interpolate tiles from lower zoom instead?

We have custom map style with custom vector tile source. maxZoom of source is set to 14, but some parts of our map have only tiles for zoom 13 or lower. When we zoom beyond 13 level in those parts of the map, the map completely vanishes. On parts of map where tiles are available up to 14, when we zoom beyond 14, the map is interpolated as expected.

As we have complete control over our vector tile server, we tried returning couple different HTTP status codes (e.g. 404 or even 5xx) when tile is unavailable, but with no avail.

@knov knov added status: triage enhancement New feature or request and removed status: triage labels Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants