stopover property

bool stopover
final

Influence routes with stopover and pass through points For each waypoint in the request, the directions response appends an entry to the legs array to provide the details for stopovers on that leg of the journey.

If you'd like to influence the route using waypoints without adding a stopover, prefix via: will be added to the waypoint. Waypoints prefixed with via: will not add an entry to the legs array, but will route the journey through the waypoint.

Implementation

final bool stopover;