Class GoogleMapsPlacesV1AddressDescriptorLandmark
Basic landmark information and the landmark's relationship with the target location. Landmarks are prominent places that can be used to describe a location.
Implements
Inherited Members
Namespace: Google.Apis.MapsPlaces.v1.Data
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class GoogleMapsPlacesV1AddressDescriptorLandmark : IDirectResponseSchema
Properties
DisplayName
The landmark's display name.
Declaration
[JsonProperty("displayName")]
public virtual GoogleTypeLocalizedText DisplayName { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypeLocalizedText |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The landmark's resource name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PlaceId
The landmark's place id.
Declaration
[JsonProperty("placeId")]
public virtual string PlaceId { get; set; }
Property Value
Type | Description |
---|---|
string |
SpatialRelationship
Defines the spatial relationship between the target location and the landmark.
Declaration
[JsonProperty("spatialRelationship")]
public virtual string SpatialRelationship { get; set; }
Property Value
Type | Description |
---|---|
string |
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 travel_distance_meters
.
Declaration
[JsonProperty("straightLineDistanceMeters")]
public virtual float? StraightLineDistanceMeters { get; set; }
Property Value
Type | Description |
---|---|
float? |
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
[JsonProperty("travelDistanceMeters")]
public virtual float? TravelDistanceMeters { get; set; }
Property Value
Type | Description |
---|---|
float? |
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
[JsonProperty("types")]
public virtual IList<string> Types { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |