添加CZML文件
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -6,5 +6,3 @@ dist-ssr
|
|||||||
|
|
||||||
.vscode
|
.vscode
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
public/CZML
|
|
||||||
1
public/CZML/beidou.czml
Normal file
1
public/CZML/beidou.czml
Normal file
File diff suppressed because one or more lines are too long
1
public/CZML/galileo.czml
Normal file
1
public/CZML/galileo.czml
Normal file
File diff suppressed because one or more lines are too long
1
public/CZML/glo-ops.czml
Normal file
1
public/CZML/glo-ops.czml
Normal file
File diff suppressed because one or more lines are too long
1
public/CZML/gps-ops.czml
Normal file
1
public/CZML/gps-ops.czml
Normal file
File diff suppressed because one or more lines are too long
@@ -26,6 +26,7 @@ export default defineComponent({
|
|||||||
const loadSatelliteOrbit = ss => czml.value = '/CZML/' + ss + '.czml'
|
const loadSatelliteOrbit = ss => czml.value = '/CZML/' + ss + '.czml'
|
||||||
|
|
||||||
const onViewerReady = ({ viewer }) => {
|
const onViewerReady = ({ viewer }) => {
|
||||||
|
viewer.scene.debugShowFramesPerSecond = true
|
||||||
// 移除默认的图层,提升加载速度
|
// 移除默认的图层,提升加载速度
|
||||||
const { imageryLayers } = viewer
|
const { imageryLayers } = viewer
|
||||||
imageryLayers.remove(imageryLayers.get(0))
|
imageryLayers.remove(imageryLayers.get(0))
|
||||||
|
|||||||
Reference in New Issue
Block a user