2017-04-05 95 views
2

我已經使用這個網址:如何使用谷歌地圖API獲取銀行,酒店等附近的位置?

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&type=restaurant&keyword=cruise&key=+MY_API_CODE 

,我啓用了谷歌API控制檯這些服務:

Google Maps Android API  
Google Maps Coordinate API 
Google Maps Directions API 
Google Maps Distance Matrix API 
Google Maps Embed API 
Google Maps Geocoding API 
Google Maps Geolocation API 

但第一次沒有problem.The工作另一件事是,當我關閉並首次啓用Google地圖地理編碼API或Google Maps Distance Matrix API。知道如何處理這個在加載附近位置時不會出現這個問題? 任何幫助將不勝感激。

回答

0

查找解決

Have to enable to get response 

ENABLE - Google Places API Web Service 
+0

我補充,但它有同樣的問題 – HPbyP

相關問題