Commit 1714e996 authored by xinzhedeai's avatar xinzhedeai

add:禁用infobox 隐藏工具栏cesium自带

parent 8a90e89b
...@@ -497,7 +497,7 @@ export default { ...@@ -497,7 +497,7 @@ export default {
if (this.selectedPerson) { if (this.selectedPerson) {
this.updateTrailDisplay(); this.updateTrailDisplay();
} }
}, 5000); // 每5秒更新一次 }, 5000000); // 每5秒更新一次
}, },
// 停止实时追踪 // 停止实时追踪
...@@ -611,12 +611,12 @@ export default { ...@@ -611,12 +611,12 @@ export default {
// 配置是否显示各种控件 // 配置是否显示各种控件
animation: false, // 动画控件 animation: false, // 动画控件
baseLayerPicker: true, // 底图选择器 baseLayerPicker: true, // 底图选择器
fullscreenButton: true, // 全屏按钮 fullscreenButton: false, // 全屏按钮
geocoder: true, // 地址搜索 geocoder: false, // 地址搜索
homeButton: true, // 主页按钮 homeButton: false, // 主页按钮
infoBox: true, // 信息框 infoBox: false, // 信息框
sceneModePicker: true, // 场景模式选择器 sceneModePicker: false, // 场景模式选择器
selectionIndicator: true, // 选择指示器 selectionIndicator: false, // 选择指示器
timeline: false, // 时间线 timeline: false, // 时间线
navigationHelpButton: false, // 导航帮助按钮 navigationHelpButton: false, // 导航帮助按钮
navigationInstructionsInitiallyVisible: false, navigationInstructionsInitiallyVisible: false,
...@@ -743,7 +743,7 @@ export default { ...@@ -743,7 +743,7 @@ export default {
}, },
createPersonModel() { createPersonModel() {
if (!this.personModelInterval) { if (!this.personModelInterval) {
this.personModelInterval = setInterval(() => { // this.personModelInterval = setInterval(() => {
console.log("开始获取实时数据"); console.log("开始获取实时数据");
if (this.bgEntities) { if (this.bgEntities) {
for (let key in this.bgEntities) { for (let key in this.bgEntities) {
...@@ -793,7 +793,7 @@ export default { ...@@ -793,7 +793,7 @@ export default {
this.updatePersonPositionByTimeIndex(this.currentTimeIndex); this.updatePersonPositionByTimeIndex(this.currentTimeIndex);
} }
}); });
}, 10000); // 每10秒刷新一次 // }, 500000); // 每10秒刷新一次
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment