Retain live flights and earthquake observations across globe switches

This commit is contained in:
German Khokhlov committed 2026-11-03 02:14:55 +04:00
1 parent a0e5f04c30
commit c0062c4d3d
17 files changed
+428 -66

No files matched your search

+4 -1
View File
@@ -42,6 +42,7 @@ export function createStandaloneApplication({
allowQaRegistration = false,
engineKind = pageEngineKind(),
rendererCache,
layerSession,
engineSwitch = false,
}) {
if (owner)
@@ -89,6 +90,7 @@ export function createStandaloneApplication({
loaderStatus,
engineKind,
rendererCache,
layerSession,
});
// The catalog of this engine: on Navara only the layers with a Navara
// renderer (src/app/layers/renderers.js; none yet), the others' state
@@ -108,6 +110,7 @@ export function createStandaloneApplication({
: {};
catalog = createStandaloneCatalog({
engineKind,
layerSession,
sources: { ...sources, ...qaSources },
streetLevelProviders,
nepalBoundaryResolver: (signal) =>
@@ -132,7 +135,7 @@ export function createStandaloneApplication({
catalog,
}),
createData: (context) =>
createStandaloneData({ ...context, allowQaRegistration, catalog }),
createStandaloneData({ ...context, allowQaRegistration, catalog, layerSession }),
createTools: async (context) => {
const tools = await createStandaloneTools({
...context,
+2
View File
@@ -8,6 +8,7 @@ export { createStandaloneReferenceSources } from './layerSources.js';
export function createStandaloneCatalog({
nepalBoundaryResolver,
engineKind = 'cesium',
layerSession,
sources = {},
streetLevelProviders,
signal = new AbortController().signal,
@@ -18,6 +19,7 @@ export function createStandaloneCatalog({
} = {}) {
return createApplicationCatalog({
engineKind,
layerSession,
nepalBoundaryResolver,
surface,
sources: createStandaloneLayerSources(sources),