This commit is contained in:
wangxueshen 2026-01-28 19:26:20 +08:00
parent df24490efc
commit af07f8a27f
3 changed files with 3 additions and 5 deletions

View File

@ -12,6 +12,6 @@ window.config = {
arcgisUrl: 'http://61.48.133.44:14001/map/arcgisMap', arcgisUrl: 'http://61.48.133.44:14001/map/arcgisMap',
minMapLevel: 1, minMapLevel: 1,
maxMapLevel: 16, maxMapLevel: 16,
defaultLocation: [116.40531500114789, 39.86340233391189], defaultLocation: [115.91531500114789, 40.35940233391189],
tdtToken: '316ac2812387c2cbff7a6f2f4e7f5bdc' tdtToken: '316ac2812387c2cbff7a6f2f4e7f5bdc'
} }

View File

@ -443,8 +443,6 @@ export default {
visibleLocale(nv) { visibleLocale(nv) {
if (!nv) { if (!nv) {
this.$emit('update:visible', false) this.$emit('update:visible', false)
alert(7777777)
} }
}, },
sceneComplete: { sceneComplete: {
@ -2608,7 +2606,7 @@ export default {
stompClientInstance = stompClient stompClientInstance = stompClient
}, },
handleWebsocketStatus(info) { handleWebsocketStatus(info) {
// console.log('SAR状态信息', info.body) console.log('SAR状态信息', info.body)
let data = JSON.parse(info.body) let data = JSON.parse(info.body)
// console.log('SAR状态信息',data) // console.log('SAR状态信息',data)
data.forEach(item => { data.forEach(item => {

View File

@ -683,7 +683,7 @@ export default {
this.sceneComplete = true this.sceneComplete = true
// this.addHandler() // this.addHandler()
// this.$refs.tools.handleMapChange('sat') // this.$refs.tools.handleMapChange('sat')
let position = DT.Cesium.Cartesian3.fromDegrees(window.config.defaultLocation[0], window.config.defaultLocation[1], 400000) let position = DT.Cesium.Cartesian3.fromDegrees(window.config.defaultLocation[0], window.config.defaultLocation[1], 1000)
viewer.cesiumViewer.scene.camera.flyTo({ viewer.cesiumViewer.scene.camera.flyTo({
destination: position, destination: position,
duration: 1 duration: 1