高德地图根据地址获取经纬度


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, '得到经纬度')
      })

 https://lbs.amap.com/api/webservice/guide/api/georegeo


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM