高德地图根据地址获取经纬度
var key = '363f73cc6d1cd03f815332fc5ed430e9' var address = '河南省商丘市' request.get(`http://restapi.amap.com/v3/geocode/geo?key=${key}&s=rsv3&city=35&address=${address}`).then(res => { console.log(res, '得到经纬度') })
var key = '363f73cc6d1cd03f815332fc5ed430e9' var address = '河南省商丘市' request.get(`http://restapi.amap.com/v3/geocode/geo?key=${key}&s=rsv3&city=35&address=${address}`).then(res => { console.log(res, '得到经纬度') })