2023 09 07
parent
6595be4028
commit
a8696882b6
|
|
@ -84,7 +84,7 @@
|
||||||
listData:[],
|
listData:[],
|
||||||
allData:[],
|
allData:[],
|
||||||
fireLngLat:'',
|
fireLngLat:'',
|
||||||
distanceradio: 3,
|
distanceradio: 5,
|
||||||
personnelGraphicLayer: null,
|
personnelGraphicLayer: null,
|
||||||
graphicLayerArr: [],
|
graphicLayerArr: [],
|
||||||
areaName: localStorage.getItem("areaName"),
|
areaName: localStorage.getItem("areaName"),
|
||||||
|
|
|
||||||
|
|
@ -164,9 +164,10 @@ export default {
|
||||||
},
|
},
|
||||||
handlerFlyToPoint(e){
|
handlerFlyToPoint(e){
|
||||||
console.log(window.globalmap)
|
console.log(window.globalmap)
|
||||||
console.log('e: ', e);
|
console.log('e: ', e.location);
|
||||||
|
|
||||||
// TODO 根据返回的坐标格式做跳转
|
// TODO 根据返回的坐标格式做跳转
|
||||||
let lngLat = [e.location]
|
let lngLat = e.location.split(',')
|
||||||
window.globalmap.flyToPoint(lngLat,{radius:400,"pitch":-90});
|
window.globalmap.flyToPoint(lngLat,{radius:400,"pitch":-90});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue