mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 08:42:21 +00:00
Load the Cesium SDK and its widget styles only when a Cesium globe first starts
This commit is contained in:
1 parent
9f8381ff71
commit
ae13a56f6d
27 files changed
+269
-124
No files matched your search
+3
-3
@@ -1,4 +1,4 @@
|
||||
import * as Cesium from 'cesium';
|
||||
// Ion world imagery asset IDs; the catalog is available before the SDK loads.
|
||||
export const MAP_STACKS = [
|
||||
{
|
||||
id: 'photoreal',
|
||||
@@ -12,7 +12,7 @@ export const MAP_STACKS = [
|
||||
label: 'Bing Aerial', // i18n-ignore: imagery product name
|
||||
shortLabel: 'Aerial',
|
||||
kind: 'ion',
|
||||
style: Cesium.IonWorldImageryStyle.AERIAL,
|
||||
style: 2,
|
||||
requiresIon: true,
|
||||
},
|
||||
{
|
||||
@@ -20,7 +20,7 @@ export const MAP_STACKS = [
|
||||
label: 'Bing Labels', // i18n-ignore: imagery product name
|
||||
shortLabel: 'Labels',
|
||||
kind: 'ion',
|
||||
style: Cesium.IonWorldImageryStyle.AERIAL_WITH_LABELS,
|
||||
style: 3,
|
||||
requiresIon: true,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user