public sealed class Location : IMessage<Location>, IEquatable<Location>, IDeepCloneable<Location>, IBufferMessage, IMessageEncapsulates a location (a geographic point, and an optional heading).
Implements
IMessage<Location>, IEquatable<Location>, IDeepCloneable<Location>, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
Location()
public Location()Location(Location)
public Location(Location other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Location | 
      
Properties
HasHeading
public bool HasHeading { get; }Gets whether the "heading" field is set
| Property Value | |
|---|---|
| Type | Description | 
Boolean | 
        |
Heading
public int Heading { get; set; }The compass heading associated with the direction of the flow of traffic. This value is used to specify the side of the road to use 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, etc.
| Property Value | |
|---|---|
| Type | Description | 
Int32 | 
        |
LatLng
public LatLng LatLng { get; set; }The waypoint's geographic coordinates.
| Property Value | |
|---|---|
| Type | Description | 
LatLng | 
        |