H5/pages/location/location.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
H5/pages/location/location.vue
@@ -124,6 +124,7 @@ var myGeo = new BMapGL.Geocoder(); // 根据坐标得到地址描述 myGeo.getLocation(new BMapGL.Point(longitude, latitude), (result) => { that.city = result.addressComponents.city that.locationList = result.surroundingPois.map((item, index) => { item.id = index + 1 return item