Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • DrivingOptions

Index

Properties

departureTime

departureTime: 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.

Optional trafficModel

trafficModel?: TrafficModel

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

Generated using TypeDoc