Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 892 Bytes

TrafficModel.md

File metadata and controls

22 lines (12 loc) · 892 Bytes

See html formatted version

TrafficModel constants

google.maps.TrafficModel constants

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.

Constants

undefined

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

undefined

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

undefined

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