使用高德地图的逆地理编码,key申请类型为Web API服务
https://lbs.amap.com/api/webservice/summary/ 类型需要为web类型
const mapKey = 'xxxxxxxx'
axios.get(`https://restapi.amap.com/v3/geocode/regeo?key=${mapKey}&location=${lon},${lat}`).then(res=>{
})
生活其实很有趣
使用高德地图的逆地理编码,key申请类型为Web API服务
https://lbs.amap.com/api/webservice/summary/ 类型需要为web类型
const mapKey = 'xxxxxxxx'
axios.get(`https://restapi.amap.com/v3/geocode/regeo?key=${mapKey}&location=${lon},${lat}`).then(res=>{
})