Options
All
  • Public
  • Public/Protected
  • All
Menu

The assumptions to use when predicting duration in traffic. Specified as part of a DirectionsRequest or DistanceMatrixRequest. Specify these by value, or by using the constant's name. For example, 'bestguess' or google.maps.TrafficModel.BEST_GUESS.

Index

Enumeration members

BEST_GUESS

BEST_GUESS = "bestguess"

Use historical traffic data to best estimate the time spent in traffic.

OPTIMISTIC

OPTIMISTIC = "optimistic"

Use historical traffic data to make an optimistic estimate of what the duration in traffic will be.

PESSIMISTIC

PESSIMISTIC = "pessimistic"

Use historical traffic data to make a pessimistic estimate of what the duration in traffic will be.

Generated using TypeDoc