2011-11-02 89 views
0

我在iPhone跑 「http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA &傳感器=真」獲得「加利福尼亞州山景城1600」露天劇場大道座標的項目。 但我收到了「REQUEST_DENIED」的回覆。 我沒有找到爲什麼發生此錯誤。 請幫幫我。 謝謝。IOS谷歌地理編碼API

+0

爲我工作。檢查文檔可能的原因。也許你在很短的時間內提出太多要求。 –

回答

1

閱讀本tutorial,它是非常有幫助的...希望它可以幫助你

+0

如何搜索Google地方信息時,我點擊了textField,並希望在textField下方顯示結果。我正在使用Swift 3.0版本。請有人幫我@PTBG –

0
They are different versions available 
Address for geocoding -> 」http://maps.googleapis.com/maps/api/geocode/json?address=" 
"https://maps.googleapis.com/maps/api/geocode/json?address=" // here you put your address then add the key 
"https://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=" // no need for key just add the address 
for any address lookup 
"https://maps.googleapis.com/maps/api/place/autocomplete/json?input="