Google Maps Isochrones V1 Client - Class TravelDirection (0.1.1)

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 \ GenerateIsochroneRequest

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TRAVEL_DIRECTION_UNSPECIFIED

Value: 0

No travel direction specified.

Generated from protobuf enum TRAVEL_DIRECTION_UNSPECIFIED = 0;

FROM

Value: 1

Calculates 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: 2

Calculates 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;