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