Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 917 Bytes

DrivingOptions.md

File metadata and controls

22 lines (12 loc) · 917 Bytes

See html formatted version

DrivingOptions interface

google.maps.DrivingOptions interface

Configures the DirectionsRequest when the travel mode is set to DRIVING.

Properties

undefined

Type:  Date

The desired departure time for the route, specified as a Date object. The Date object measures time in milliseconds since 1 January 1970. This must be specified for a DrivingOptions to be valid. The departure time must be set to the current time or some time in the future. It cannot be in the past.

undefined

Type:  TrafficModel optional

The preferred assumption to use when predicting duration in traffic. The default is BEST_GUESS.