mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
修改点坐标
This commit is contained in:
@@ -125,10 +125,16 @@ export default {
|
||||
// let lnglat = [lng, lat];
|
||||
// console.log("经纬度", lnglat);
|
||||
});
|
||||
marker.on("click", (e) => {
|
||||
let lat = e.lnglat.lat;
|
||||
let lng = e.lnglat.lng;
|
||||
this.getLngLatService(lat, lng);
|
||||
});
|
||||
})
|
||||
.catch((e) => {
|
||||
console.log(e);
|
||||
});
|
||||
|
||||
},
|
||||
select(e) {
|
||||
this.placeSearch.search(e.poi.name); //关键字查询查询
|
||||
|
||||
Reference in New Issue
Block a user