mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 08:42:21 +00:00
Keep globe renderers warm across live engine switches
This commit is contained in:
1 parent
f71c76c306
commit
5e658d8c9d
15 files changed
+343
-34
No files matched your search
@@ -41,6 +41,8 @@ export function createStandaloneApplication({
|
||||
streetLevelProviders,
|
||||
allowQaRegistration = false,
|
||||
engineKind = pageEngineKind(),
|
||||
rendererCache,
|
||||
engineSwitch = false,
|
||||
}) {
|
||||
if (owner)
|
||||
throw new Error('The standalone application already owns this page');
|
||||
@@ -86,6 +88,7 @@ export function createStandaloneApplication({
|
||||
cesiumToken,
|
||||
loaderStatus,
|
||||
engineKind,
|
||||
rendererCache,
|
||||
});
|
||||
// The catalog of this engine: on Navara only the layers with a Navara
|
||||
// renderer (src/app/layers/renderers.js; none yet), the others' state
|
||||
@@ -123,6 +126,7 @@ export function createStandaloneApplication({
|
||||
createControls: (context) =>
|
||||
createStandaloneControls({
|
||||
...context,
|
||||
engineSwitch,
|
||||
loaderStatus,
|
||||
placeSearch,
|
||||
catalog,
|
||||
|
||||
Reference in new issue
Block a user