我使用Google Places API来获取附近的餐馆,但我注意到结果中不包含网站地址(URL)和确切的照片网址。这里是抽样结果 I searched for resturants near Austrailia, the image shows sample response of "The Star" restaurant如何获取Google Places API的地方网站和照片附近的搜索
如果我们通过谷歌的地方获得同样的地方“星”自动完成那么做回网站URL(http://www.star.com.au/)和照片网址了。 有没有办法获得结果中包含的网址(URL)和照片?
这是我使用的电话:
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=<lat,lng>&radius=500&type=restaurant&key=<api_key>
任何帮助将不胜感激
问题跟踪器中的相关问题:[问题9312:错误:照片对象几乎总是从所有请求中丢失](https://code.google.com/p/gmaps-api-issues/issues/detail?id= 9312) – geocodezip