2023 09 07

master
石超 2023-09-07 10:50:37 +08:00
parent 6595be4028
commit a8696882b6
2 changed files with 4 additions and 3 deletions

View File

@ -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"),

View File

@ -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});
} }
}, },