Encapsulates a waypoint. Waypoints mark both the beginning and end of a route, and include intermediate stops along the route.
JSON representation |
---|
{ "via": boolean, "vehicleStopover": boolean, "sideOfRoad": boolean, // Union field |
Fields | |
---|---|
via |
Marks this waypoint as a milestone rather a stopping point. For each non-via waypoint in the request, the response appends an entry to the |
vehicle |
Indicates that the waypoint is meant for vehicles to stop at, where the intention is to either pickup or drop-off. When you set this value, the calculated route won't include non- |
side |
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 works only for |
Union field location_type . Different ways to represent a location. location_type can be only one of the following: |
|
location |
A point specified using geographic coordinates, including an optional heading. |
place |
The POI Place ID associated with the waypoint. |
address |
Human readable address or a plus code. See https://plus.codes for details. |