A photoreal base that fails to come back keeps the stack before it

- The map source controller waits for a base that loads as it is shown
  (the globe engine's tilesetReady) before it takes the stack before it
  down: one that fails throws there, so that stack and its imagery stay
  and the error is reported, as from any failed switch. The Cesium map
  engine has no tilesetReady, so its switches are unchanged.
- A failed default renderer load is tried again by the next call, and
  the standalone page's early load does not report a failure nobody
  awaited yet.
- The adapter ratchet's on-demand import rule refuses a default or an
  empty destructuring.
- The stub boot check fails a layer whose manager answers false rather
  than throwing, or that is not on (or off) afterwards; a field drawn
  counts as drawn; the dev server is closed when the browser cannot
  start.
This commit is contained in:
Sameh Khamis committed 2026-11-10 18:10:07 -08:00
1 parent 8a4867b1b7
commit 9a13aeab48
8 files changed
+108 -13

No files matched your search

+2
View File
@@ -37,7 +37,9 @@ export function createStandaloneApplication({
throw new Error('The standalone application already owns this page');
constructed = true;
// The default renderer starts loading now, beside the page's own setup.
// A failed load is the scene's to report, when it asks for the renderer.
const rendererPlugin = renderer ?? loadDefaultRenderer();
if (!renderer) Promise.resolve(rendererPlugin).catch(() => {});
// Locale is resolved before any UI initialization so <html lang>/<html dir>
// and every catalog lookup agree from the first painted frame. Module
// scripts execute after parsing, so the DOM is ready here: the views