Class Location
Encapsulates a location (a geographic point, and an optional heading).
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class Location : IMessage<Location>, IEquatable<Location>, IDeepCloneable<Location>, IBufferMessage, IMessage
Constructors
Location()
Declaration
public Location()
Location(Location)
Declaration
public Location(Location other)
Parameters
Type | Name | Description |
---|---|---|
Location | other |
Properties
Heading
The compass heading associated with the direction of the flow of traffic.
This value specifies the side of the road for pickup and drop-off. Heading
values can be from 0 to 360, where 0 specifies a heading of due North, 90
specifies a heading of due East, and so on. You can use this field only for
DRIVE
and TWO_WHEELER
[RouteTravelMode
][google.maps.routing.v2.RouteTravelMode].
Declaration
public int? Heading { get; set; }
Property Value
Type | Description |
---|---|
int? |
LatLng
The waypoint's geographic coordinates.
Declaration
public LatLng LatLng { get; set; }
Property Value
Type | Description |
---|---|
LatLng |