GooglePlaces Framework Reference

GMSPlaceGoogleMapsLinks

@interface GMSPlaceGoogleMapsLinks : NSObject

Links to trigger different Google Maps actions for a place.

  • Returns a link to show the directions to the place. The link only populates the destination location and uses the default travel mode DRIVE.

    Declaration

    Swift

    var directionsURL: URL? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) NSURL *directionsURL;
  • Returns a link to show this place.

    Declaration

    Swift

    var placeURL: URL? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) NSURL *placeURL;
  • Returns a link to write a review for this place.

    Declaration

    Swift

    var writeAReviewURL: URL? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) NSURL *writeAReviewURL;
  • Returns a link to show reviews of this place.

    Declaration

    Swift

    var reviewsURL: URL? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) NSURL *reviewsURL;
  • Returns a link to show photos of this place.

    Declaration

    Swift

    var photosURL: URL? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) NSURL *photosURL;
  • Unavailable

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;