From 631d650c7bb399530a6f86780f0cfcc30923fe6c Mon Sep 17 00:00:00 2001 From: Sven Schneider <sven.schneider@hft-stuttgart.de> Date: Tue, 26 Jul 2022 17:50:35 +0200 Subject: [PATCH] added full-screen button in cesium app --- public/Kirchturm1.js | 25 +++++++++++++------------ public/Kirchturm2.js | 5 +++-- public/stoeckach.js | 25 +++++++++++++------------ 3 files changed, 29 insertions(+), 26 deletions(-) diff --git a/public/Kirchturm1.js b/public/Kirchturm1.js index da966c8..76b2fbf 100644 --- a/public/Kirchturm1.js +++ b/public/Kirchturm1.js @@ -27,18 +27,19 @@ $(function () { terrainProvider : new Cesium.CesiumTerrainProvider({ url: Cesium.IonResource.fromAssetId(1) }), - scene3DOnly: false, - shouldAnimate: true, - animation: true, - infoBox: true, - baseLayerPicker: true, - fullscreenButton: false, - timeline: false, - navigationHelpButton: true, - navigationInstructionsInitiallyVisible: false, - homeButton: false, - selectionIndicator: true, - geocoder: true, + scene3DOnly: false, + shouldAnimate: true, + animation: true, + infoBox: true, + baseLayerPicker: true, + fullscreenButton: true, + timeline: true, + navigationHelpButton: true, + shadow: true, + navigationInstructionsInitiallyVisible: false, + homeButton: false, + selectionIndicator: true, + geocoder: true, // imageryProviderViewModels: imageryViewModels }); diff --git a/public/Kirchturm2.js b/public/Kirchturm2.js index 423bb67..5935df6 100644 --- a/public/Kirchturm2.js +++ b/public/Kirchturm2.js @@ -32,9 +32,10 @@ $(function () { animation: true, infoBox: true, baseLayerPicker: true, - fullscreenButton: false, - timeline: false, + fullscreenButton: true, + timeline: true, navigationHelpButton: true, + shadow: true, navigationInstructionsInitiallyVisible: false, homeButton: false, selectionIndicator: true, diff --git a/public/stoeckach.js b/public/stoeckach.js index 5cc1c60..c6110dc 100644 --- a/public/stoeckach.js +++ b/public/stoeckach.js @@ -27,18 +27,19 @@ $(function () { terrainProvider : new Cesium.CesiumTerrainProvider({ url: Cesium.IonResource.fromAssetId(1) }), - scene3DOnly: false, - shouldAnimate: true, - animation: true, - infoBox: true, - baseLayerPicker: true, - fullscreenButton: false, - timeline: false, - navigationHelpButton: true, - navigationInstructionsInitiallyVisible: false, - homeButton: false, - selectionIndicator: true, - geocoder: true, + scene3DOnly: false, + shouldAnimate: true, + animation: true, + infoBox: true, + baseLayerPicker: true, + fullscreenButton: true, + timeline: true, + navigationHelpButton: true, + shadow: true, + navigationInstructionsInitiallyVisible: false, + homeButton: false, + selectionIndicator: true, + geocoder: true, // imageryProviderViewModels: imageryViewModels }); -- GitLab