fix(SAT): update ISS data source assignment and correct CESIUM_BASE_URL to HTTPS
This commit is contained in:
@ -118,7 +118,8 @@ export async function demoOrbitGeneration(viewer: Viewer) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const issDataSource = new SpaceCatalogDataSource({ name: 'issSource' });
|
const issDataSource = new SpaceCatalogDataSource({ name: 'issSource' });
|
||||||
issDataSource.entities.add(ISS);
|
Object.assign(window, { issDataSource });
|
||||||
|
issDataSource.entities.add(ISS); // FIXME: add后有问题。
|
||||||
await viewer.dataSources.add(issDataSource);
|
await viewer.dataSources.add(issDataSource);
|
||||||
|
|
||||||
// await new Promise((_r) => setTimeout(_r, 1000));
|
// await new Promise((_r) => setTimeout(_r, 1000));
|
||||||
|
@ -4,7 +4,7 @@ import CesiumViewer from './CesiumViewer.vue';
|
|||||||
const $datatableShow = ref(false);
|
const $datatableShow = ref(false);
|
||||||
|
|
||||||
// @ts-expect-error https://digitalarsenal.io/Widgets/InfoBox/InfoBoxDescription.css
|
// @ts-expect-error https://digitalarsenal.io/Widgets/InfoBox/InfoBoxDescription.css
|
||||||
globalThis.CESIUM_BASE_URL = 'http://digitalarsenal.io/';
|
globalThis.CESIUM_BASE_URL = 'https://digitalarsenal.io/';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
Reference in New Issue
Block a user