添加CZML文件

This commit is contained in:
叶志超
2021-09-14 21:38:31 +08:00
parent d0f3fccb12
commit 71d7c1f142
6 changed files with 6 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ export default defineComponent({
const loadSatelliteOrbit = ss => czml.value = '/CZML/' + ss + '.czml'
const onViewerReady = ({ viewer }) => {
viewer.scene.debugShowFramesPerSecond = true
// 移除默认的图层,提升加载速度
const { imageryLayers } = viewer
imageryLayers.remove(imageryLayers.get(0))