GooglePlacesSwift Framework Reference


struct FetchPhotoRequest

The request for a specific placeID and place properties to include in the Place response.

  • Request object to use with PlacesClient to fetch a photo.

    If the image is smaller than the values specified, the original image will be returned. If the image is larger in either dimension, it will be scaled to match the smaller of the two dimensions, restricted to its original aspect ratio. CGSize height and width should be set to an integer between 1 and 4800. If not, the PlacesClient request callback will return an error.



    init(photo: Photo, maxSize: CGSize)