百度地图根据经纬度获取实际地理位置Api接口
2021-05-16 11:27
标签:bd09 location href inf json tail extension dog oca 百度地图根据经纬度获取实际地理位置Api接口 标签:bd09 location href inf json tail extension dog oca 原文地址:https://www.cnblogs.com/pansidong/p/14491492.html public function lonlat_info(){
$url = ‘http://api.map.baidu.com/reverse_geocoding/v3/?ak=**********&output=json&coordtype=bd09ll&location=33.35194364323275,117.39403228762&extensions_poi=1‘;
$res = Http::doGet($url);
$res = json_decode($res,true);
dump($res);
}