15526 已经标过点的 编辑的时候 再次进入 画面不是标点的地方

20240528Test
limingyu 2024-05-11 14:08:21 +08:00
parent 509aa22460
commit 485b045b09
1 changed files with 7 additions and 2 deletions

View File

@ -544,8 +544,13 @@ export default {
},
toCenter(center = this.center) {
console.log('toCenter', center)
if (this.FIRE_POINT_ID && this.LONGTITUDE && this.LATITUDE && this.LONGTITUDE.trim() != '' && this.LATITUDE.trim() != '') {
this.center.longitude = this.LONGTITUDE
this.center.latitude = this.LATITUDE
} else {
this.center.longitude = center.longitude
this.center.latitude = center.latitude
}
this.center.height = center.height
viewer.camera.flyTo({
// ,x,y,