RouteDirectionsSummary interface

Summary object

Properties

arrivalTime

Arrival Time property NOTE: This property will not be serialized. It can only be populated by the server.

departureTime

Departure Time property NOTE: This property will not be serialized. It can only be populated by the server.

lengthInMeters

Length In Meters property NOTE: This property will not be serialized. It can only be populated by the server.

trafficDelayInSeconds

Estimated delay in seconds caused by the real-time incident(s) according to traffic information. For routes planned with departure time in the future, delays is always 0. To return additional travel times using different types of traffic information, parameter computeTravelTimeFor=all needs to be added. NOTE: This property will not be serialized. It can only be populated by the server.

travelTimeInSeconds

Estimated travel time in seconds property that includes the delay due to real-time traffic. Note that even when traffic=false travelTimeInSeconds still includes the delay due to traffic. If DepartAt is in the future, travel time is calculated using time-dependent historic traffic data. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

arrivalTime

Arrival Time property NOTE: This property will not be serialized. It can only be populated by the server.

arrivalTime?: string

Property Value

string

departureTime

Departure Time property NOTE: This property will not be serialized. It can only be populated by the server.

departureTime?: string

Property Value

string

lengthInMeters

Length In Meters property NOTE: This property will not be serialized. It can only be populated by the server.

lengthInMeters?: number

Property Value

number

trafficDelayInSeconds

Estimated delay in seconds caused by the real-time incident(s) according to traffic information. For routes planned with departure time in the future, delays is always 0. To return additional travel times using different types of traffic information, parameter computeTravelTimeFor=all needs to be added. NOTE: This property will not be serialized. It can only be populated by the server.

trafficDelayInSeconds?: number

Property Value

number

travelTimeInSeconds

Estimated travel time in seconds property that includes the delay due to real-time traffic. Note that even when traffic=false travelTimeInSeconds still includes the delay due to traffic. If DepartAt is in the future, travel time is calculated using time-dependent historic traffic data. NOTE: This property will not be serialized. It can only be populated by the server.

travelTimeInSeconds?: number

Property Value

number