0

我正在使用 Google Places API 从位置获取照片。我收到了 API 调用并且工作正常。但我的问题是如何获取photoreference位置的密钥..

https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&**photoreference=CoQBegAAAFg5U0y-iQEtUVMfqw4KpXYe60QwJC-wl59NZlcaxSQZNgAhGrjmUKD2NkXatfQF1QRap-PQCx3kMfsKQCcxtkZqQ**&sensor=true&key=AIzaSyCAe7UnfJ6NA9vFkBpswQK1udVzivRdLD0 

photoreference=CoQBegAAAFg5U0y-iQEtUVMfqw4KpXYe60QwJC-wl59NZlcaxSQZNgAhGrjmUKD2NkXatfQF1QRap-PQCx3kMfsKQCcxtkZqQ

4

1 回答 1

2

您需要从Place SearchorPlace Details请求中获取照片参考。详情位于:https ://developers.google.com/places/documentation/photos

于 2014-01-27T06:37:56.850 回答