Show / Hide Table of Contents

Class Waypoint

Encapsulates a waypoint. Waypoints mark arrival and departure locations of VisitRequests, and start and end locations of Vehicles.

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

Constructors

Waypoint()

Declaration
public Waypoint()

Waypoint(Waypoint)

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

Properties

HasPlaceId

Gets whether the "place_id" field is set

Declaration
public bool HasPlaceId { get; }
Property Value
Type Description
bool

Location

A point specified using geographic coordinates, including an optional heading.

Declaration
public Location Location { get; set; }
Property Value
Type Description
Location

LocationTypeCase

Declaration
public Waypoint.LocationTypeOneofCase LocationTypeCase { get; }
Property Value
Type Description
Waypoint.LocationTypeOneofCase

PlaceId

The POI Place ID associated with the waypoint.

Declaration
public string PlaceId { get; set; }
Property Value
Type Description
string

SideOfRoad

Optional. Indicates that the location of this waypoint is meant to have a preference for the vehicle to stop at a particular side of road. When you set this value, the route will pass through the location so that the vehicle can stop at the side of road that the location is biased towards from the center of the road. This option doesn't work for the 'WALKING' travel mode.

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