Android 如何使用谷歌地图API获取附近的位置,如银行、酒店等?
我使用了以下URL:Android 如何使用谷歌地图API获取附近的位置,如银行、酒店等?,android,api,google-maps,maps,google-places-api,Android,Api,Google Maps,Maps,Google Places Api,我使用了以下URL: https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&type=restaurant&keyword=cruise&key=+MY_API_CODE 我在google API控制台中启用了这些服务: Google Maps Android API Google Maps Co
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&type=restaurant&keyword=cruise&key=+MY_API_CODE
我在google 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
另一件事是,当我第一次禁用并启用谷歌地图地理编码API或谷歌地图距离矩阵API时,它也能正常工作。知道如何处理此问题,以便在加载附近位置时不会出现此问题?
任何帮助都将不胜感激。找到解决方案
Have to enable to get response
ENABLE - Google Places API Web Service
我添加了它,但它有同样的问题