我正在使用Android Google地圖應用程序,但用於獲取用戶附近地點的結果的查詢字符串無法正常工作。Android REQUEST_DENIED Google地方API
http://maps.googleapis.com/maps/api/place/search/json?location=123.666,33.166&radius=50000&sensor=false&types=establishment&name=hotel&key={myKey}
我使用this link to obtain a Maps API key。
這裏是我收到的回覆。
{
"html_attributions" : [],
"results" : [],
"status" : "REQUEST_DENIED"
}
感謝
好的,我將嘗試從此鏈接生成密鑰以及......但以前我有從鏈接li生成的鏈接關於這個,它的工作原理https://developers.google.com/maps/documentation/android/mapkey –
從每個鏈接生成KEY是否有任何區別.......我正在使用這個ANDROID應用程序。 –
地點API Web服務不使用mapkey進行管理,而是使用API控制檯進行管理。我發現這個最好的解釋是由這篇文章推論:http://www.androidhive.info/2012/08/android-working-with-google-places-and-maps-tutorial/ HTH – kaskader