2017-04-05 92 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

相关问题