fix(globe): Navara redraws after a map change while its tiles arrive

Phase-4 QA: after a map-stack switch at the whole-globe view Navara
sometimes showed the new map only seconds later. Navara 0.2.1 reports idle
and stops drawing before a raster tile it fetched arrives, so the last
frame stays stale until something else asks for one. Every engine.maps
change (base imagery, terrain, photoreal tiles, their release) now asks for
a frame and keeps asking every 250 ms for 6 s, then the engine idles again.

scripts/qa-map-switch.mjs switches the stack (photoreal / Esri / OSM) at
18 000 km on each engine, waits for the tiles, hashes the picture, forces
frames and hashes again: a change means a stale picture. Before: Navara 3/8
switches drew the new picture by themselves; after: Navara 8/8, Cesium 8/8.
This commit is contained in:
German Khokhlov committed 2026-10-16 23:00:15 +04:00
1 parent ba039f7974
commit 907cb2092d
3 files changed
+87 -8

No files matched your search

+2 -1
View File
@@ -1108,5 +1108,6 @@
"src/app/layers/qaSources.js",
"src/app/layers/qaSources.test.mjs",
"scripts/qa-w1-layers.mjs",
"src/bench/w1Feeds.js"
"src/bench/w1Feeds.js",
"scripts/qa-map-switch.mjs"
]