Show / Hide Table of Contents

Enum ComputeRoutesRequest.Types.ReferenceRoute

A supported reference route on the ComputeRoutesRequest.

Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public enum ComputeRoutesRequest.Types.ReferenceRoute

Fields

Name Description
FuelEfficient

Fuel efficient route.

ShorterDistance

Route with shorter travel distance. This is an experimental feature.

For DRIVE requests, this feature prioritizes shorter distance over driving comfort. For example, it may prefer local roads instead of highways, take dirt roads, cut through parking lots, etc. This feature does not return any maneuvers that Google Maps knows to be illegal.

For BICYCLE and TWO_WHEELER requests, this feature returns routes similar to those returned when you don't specify requested_reference_routes.

This feature is not compatible with any other travel modes, via intermediate waypoints, or optimize_waypoint_order; such requests will fail. However, you can use it with any routing_preference.

Unspecified

Not used. Requests containing this value fail.

In this article
Back to top Generated by DocFX