-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
maplibre-gl-js version: 5.18.0
browser: brave latest, chrome latest
Steps to Trigger Behavior
- Open CSB https://codesandbox.io/p/sandbox/s73fvs
- It loads esri raster basemap with a pretty high pitch
- 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.