fix(street-level): read the older {zoom, kind} zoomFor shape (#1288)

Restore legacy provider zoomFor compatibility and document supported return values.

Contribution by @asturksever.
This commit is contained in:
Said Turksever authored and GitHub committed 2026-10-24 23:33:10 -07:00
1 parent 8dec9eaa10
commit 5b8e6fbc38
4 files changed
+67 -7

No files matched your search

+4
View File
@@ -3753,6 +3753,10 @@ disabled. With it, coverage draws as z11–14 sequence lines below 60 km; the pr
tiles (12 MB → ~80 KB) and shares one upstream fetch between concurrent
requests for a tile.
Line coverage accepts a provider’s numeric `zoomFor` result or its legacy
`{zoom, kind}` shape. Overview levels and invalid zooms show the zoom-in hint
instead of silently requesting no tiles.
Coverage is z11–14 sequence lines below 60 km; above that nothing is drawn and
the panel says to zoom in. Tiles come from the visible ground within range of
the camera, nearest first, at most 9 (the halves of a view across