mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Retain live flights and earthquake observations across globe switches
This commit is contained in:
1 parent
a0e5f04c30
commit
c0062c4d3d
17 files changed
+428
-66
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user