Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Load lower resolution tiles for tilted views #9037

Closed
@kkaefer

Description

@kkaefer

We're currently loading tiles with a fixed zoom level for a particular view, regardless of whether it is tilted or not. This leads to too many tiles being loaded on the horizon, while potentially not enough tiles are loaded at the bottom of the viewport. This is especially true for raster images because they typically use smaller tile sizes.

screen shot 2017-05-18 at 17 52 41

Instead, we should be loading lower zoom level tiles for places that are further away from the camera, and potentially higher zoom level tiles that are closer to the camera, in particular when we implement #6908.

There are two ways for styles to handle this:

  • Render all tiles with the evaluated style of the current zoom level: This is what we do right now when showing parent/child tiles when zooming/panning while waiting for the actual tiles to load. It requires tiles to be somewhat coherent across zoom levels
  • Use a different zoom level throughout the screen: This means that we'll have to evaluate the stylesheet (based on zoom level) in the shader, and is probably out of scope for a first implementation.

Metadata

Metadata

Assignees

Labels

CoreThe cross-platform C++ core, aka mbglarchivedArchived because of inactivityfeatureneeds discussionperformanceSpeed, stability, CPU usage, memory usage, or power usage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions