Skip to content

Low resolution tiles loading with low VFOV (<=10°) and high pitch #7146

@jo-chemla

Description

@jo-chemla

maplibre-gl-js version: 5.18.0

browser: brave latest, chrome latest

Steps to Trigger Behavior

  1. Open CSB https://codesandbox.io/p/sandbox/s73fvs
  2. It loads esri raster basemap with a pretty high pitch
  3. Use buttons to set VFOV to 10° or 40° and notice low resolution tiles loading when high pitch and low VFOV

This might be the kind of bite @HarelM was referring to on PR #4914 (review) exposing Add setVerticalFieldOfView() to public API ?

When using a low VFOV (1-10°), at any pitch larger than 0 - but it becomes more noticeable with the pitch increasing - it seems that the tile selection heuristic wrongly uses lower resolution tiles - for basemaps TMS layers, terrain, etc. See the screencast attached.

2026-02-18.-.09-41-56_8mblocal_7179df13.mp4

Link to Demonstration

MRE CodeSandbox code and preview here https://codesandbox.io/p/sandbox/s73fvs

Expected Behavior

Independent of the pitch / VFOV values, the same resolution TMS tiles should be loaded. Also happens for terrain.

Actual Behavior

Only low resolutions tiles are loaded / higher res are discarded when the camera has a low VFOV and high pitch.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions