# GooglePlaces Framework Reference

# GMSPlaceLandmark

    @interface GMSPlaceLandmark : NSObject

Basic landmark information and the landmark's relationship with the target location.

Landmarks are prominent places that can be used to describe a location.
- `


  ### [resourceName](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceLandmark#/c:objc(cs)GMSPlaceLandmark(py)resourceName)


  ` The landmark's resource name.

  #### Declaration

  Swift

      var resourceName: String? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSString *resourceName;

- `


  ### [placeID](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceLandmark#/c:objc(cs)GMSPlaceLandmark(py)placeID)


  ` The landmark's place ID.

  #### Declaration

  Swift

      var placeID: String? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSString *placeID;

- `


  ### [displayName](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceLandmark#/c:objc(cs)GMSPlaceLandmark(py)displayName)


  ` The landmark's display name.

  #### Declaration

  Swift

      var displayName: String? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSString *displayName;

- `


  ### [displayNameLanguageCode](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceLandmark#/c:objc(cs)GMSPlaceLandmark(py)displayNameLanguageCode)


  ` The landmark's display name language code.

  #### Declaration

  Swift

      var displayNameLanguageCode: String? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSString *displayNameLanguageCode;

- `


  ### [types](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceLandmark#/c:objc(cs)GMSPlaceLandmark(py)types)


  ` A set of type tags for this landmark.
  For a complete list of possible values, see
  <https://developers.google.com/maps/documentation/places/web-service/place-types>.

  #### Declaration

  Swift

      var types: [String]? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSArray<NSString *> *types;

- `


  ### [spatialRelationship](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceLandmark#/c:objc(cs)GMSPlaceLandmark(py)spatialRelationship)


  ` Defines the spatial relationship between the target location and the landmark.

  #### Declaration

  Swift

      var spatialRelationship: https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Enums/GMSPlaceLandmarkSpatialRelationship.html { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Enums/GMSPlaceLandmarkSpatialRelationship.html spatialRelationship;

- `


  ### [straightLineDistanceMeters](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceLandmark#/c:objc(cs)GMSPlaceLandmark(py)straightLineDistanceMeters)


  ` The straight line distance, in meters, between the center point of the target and
  the center point of the landmark.

  In some situations, this value can be longer than `https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceLandmark.html#/c:objc(cs)GMSPlaceLandmark(py)travelDistanceMeters`.

  #### Declaration

  Swift

      var straightLineDistanceMeters: NSNumber? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSNumber *straightLineDistanceMeters;

- `


  ### [travelDistanceMeters](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceLandmark#/c:objc(cs)GMSPlaceLandmark(py)travelDistanceMeters)


  ` The travel distance, in meters, along the road network from the target to the
  landmark, if known.

  This value does not take into account the mode of transportation, such as walking, driving, or
  biking.

  #### Declaration

  Swift

      var travelDistanceMeters: NSNumber? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSNumber *travelDistanceMeters;

- `


  ### [-init](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceLandmark#/c:objc(cs)GMSPlaceLandmark(im)init)


  ` Unavailable

  #### Declaration

  Objective-C

      - (instancetype)init NS_UNAVAILABLE;