google.maps.DrivingOptions interface
Configures the DirectionsRequest when the travel mode is set to DRIVING.
Properties
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.
Type: TrafficModel optional
The preferred assumption to use when predicting duration in traffic. The default is BEST_GUESS.