Show / Hide Table of Contents

Class Landmark

Landmarks are used to communicate where the destination is or help with arriving at the destination.

Inheritance
object
Landmark
Implements
IMessage<Landmark>
IEquatable<Landmark>
IDeepCloneable<Landmark>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.Geocode.V4
Assembly: Google.Maps.Geocode.V4.dll
Syntax
public sealed class Landmark : IMessage<Landmark>, IEquatable<Landmark>, IDeepCloneable<Landmark>, IBufferMessage, IMessage

Constructors

Landmark()

Declaration
public Landmark()

Landmark(Landmark)

Declaration
public Landmark(Landmark other)
Parameters
Type Name Description
Landmark other

Properties

LandmarkCase

Declaration
public Landmark.LandmarkOneofCase LandmarkCase { get; }
Property Value
Type Description
Landmark.LandmarkOneofCase

Place

The place that represents this landmark.

Declaration
public PlaceView Place { get; set; }
Property Value
Type Description
PlaceView

RelationalDescription

A human-readable description of how the destination relates to the landmark. For example: "Near the Empire State Building" or "Across from the White House".

Declaration
public LocalizedText RelationalDescription { get; set; }
Property Value
Type Description
LocalizedText

StraightLineDistanceMeters

Output only. The straight-line distance from this landmark to the destination in meters.

Declaration
public double StraightLineDistanceMeters { get; set; }
Property Value
Type Description
double

Tags

Tags that describe how the landmark can be used in the context of the destination.

Declaration
public RepeatedField<Landmark.Types.Tag> Tags { get; }
Property Value
Type Description
RepeatedField<Landmark.Types.Tag>

TravelDistanceMeters

Output only. The road-network distance from this landmark to the destination in meters.

Declaration
public double TravelDistanceMeters { get; set; }
Property Value
Type Description
double
In this article
Back to top Generated by DocFX