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