簡體   English   中英

是否有可能使用google placesearch api從緯度和經度獲取格式化地址?

[英]Is it possible to get formatted address from latitude and longitude using google places textsearch api?

我想在點擊地圖引腳時顯示格式化的地址。

谷歌的textseach api給出了關鍵的formatted_address。 如何使用formatted_address獲取特定地點的特定緯度經度?

是否有可能使用google placesearch api從緯度和經度獲取格式化地址?

您需要使用Google Maps Geocoding API來獲取地址。

示例:https:// maps.googleapis.com/maps/api/geocode/json?latlng=19.1309601,72.9068758&key= your-key

PS:大部分時間都會返回多個結果。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM