Reference documentation and code samples for the Google Maps Isochrones V1 Client class TravelDirection.
Specifies the direction of travel for the isochrone calculation.
Protobuf type google.maps.isochrones.v1.GenerateIsochroneRequest.TravelDirection
Namespace
Google \ Maps \ Isochrones \ V1 \ GenerateIsochroneRequestMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
TRAVEL_DIRECTION_UNSPECIFIED
Value: 0No travel direction specified.
Generated from protobuf enum TRAVEL_DIRECTION_UNSPECIFIED = 0;
FROM
Value: 1Calculates the area reachable from the origin point.
Example: "Where can I deliver to from my warehouse in 30 minutes?"
Generated from protobuf enum FROM = 1;
TO
Value: 2Calculates the area from which you can travel to the origin point.
Example: "Where can my employees commute from to reach the office in 30 minutes?"
Generated from protobuf enum TO = 2;