Google Maps Isochrones V1 Client - Class RoutingPreference (0.1.1)

Reference documentation and code samples for the Google Maps Isochrones V1 Client class RoutingPreference.

Determines how traffic conditions are incorporated into the calculation.

Protobuf type google.maps.isochrones.v1.GenerateIsochroneRequest.RoutingPreference

Namespace

Google \ Maps \ Isochrones \ V1 \ GenerateIsochroneRequest

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ROUTING_PREFERENCE_UNSPECIFIED

Value: 0

No routing preference specified. The server will use its default, which is TRAFFIC_UNAWARE.

Generated from protobuf enum ROUTING_PREFERENCE_UNSPECIFIED = 0;

TRAFFIC_UNAWARE

Value: 1

The calculation will not take traffic conditions into consideration.

The isochrone will be based on the road network and static travel times. This is suitable for planning purposes where traffic is not a factor.

Generated from protobuf enum TRAFFIC_UNAWARE = 1;

TRAFFIC_AWARE

Value: 2

The calculation will factor in live traffic conditions.

Generated from protobuf enum TRAFFIC_AWARE = 2;