GMSPlacePhotoMetadata Class Reference

GMSPlacePhotoMetadata Class Reference

Overview

The metadata corresponding to a single photo associated with a place.

Properties

NSAttributedString * attributions
 The data provider attribution string for this photo.
CGSize maxSize
 The maximum pixel size in which this photo is available.

Property Documentation

- (NSAttributedString*) attributions [read, copy]

The data provider attribution string for this photo.

These are provided as a NSAttributedString, which may contain hyperlinks to the website of each provider.

In general, these must be shown to the user if data from this GMSPlacePhotoMetadata is shown, as described in the Places SDK Terms of Service.

- (CGSize) maxSize [read, assign]

The maximum pixel size in which this photo is available.