![]() If the server is unable to understand your request, then it returns HTTP 400 HTTP 403 status and display the below image to indicate that the quota has If your request exceeds your available quota, the server will return an The image will depend upon the type of the originally submitted photo. The response of a successful Place Photo request will be an image. &photo_reference=ATJ83zhSSAtkh5LTozXMhBghqubeOxnZWUV2m7Hv2tQaIzKQJgvZk9圜aEjBW0r0Zx1oJ9RF1G7oeM34sQQMOv8s2zA0sgGBiyBgvdyMxeVByRgHUXmv-rkJ2wyvNv17jyTSySm_-_6R2B0v4eKX257HOxvXlx_TSwp2NrICKrZM2d5d2P4q &key= YOUR_API_KEY Note: You'll need to replace the API key in this example in order for the Image, resizing it so that it is at most 400 pixels wide. "photo_reference" : "ATJ83zhSSAtkh5LTozXMhBghqubeOxnZWUV2m7Hv2tQaIzKQJgvZk9圜aEjBW0r0Zx1oJ9RF1G7oeM34sQQMOv8s2zA0sgGBiyBgvdyMxeVByRgHUXmv-rkJ2wyvNv17jyTSySm_-_6R2B0v4eKX257HOxvXlx_TSwp2NrICKrZM2d5d2P4q"Īn example request is shown below. The following example shows a Place Details request:Īn example of the photos array in the response is shown below. Information, see the caching restrictions stated in Section 5.4 of the Ensure that you always get the photo_reference from the response to a Caution: You cannot cache a photo_reference. Includes a value in the html_attributions field, you must include theĪdditional attribution in your application wherever you display the image. Photos can be used without attribution, or will have the required attribution ![]() Including business owners and user contributed photos. Photos returned by the Photo service are sourced from a variety of locations, Thisįield will always be present, but may be empty.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |