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 \ GenerateIsochroneRequestMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
ROUTING_PREFERENCE_UNSPECIFIED
Value: 0No routing preference specified. The server will use its default, which is TRAFFIC_UNAWARE.
Generated from protobuf enum ROUTING_PREFERENCE_UNSPECIFIED = 0;
TRAFFIC_UNAWARE
Value: 1The 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: 2The calculation will factor in live traffic conditions.
Generated from protobuf enum TRAFFIC_AWARE = 2;