RouteSummary Object

Bing
 

Represents a route summary.

NameTypeDescription
distancenumberThe total travel distance of the route, specified in the units set in the distanceUnit property of the DirectionsRequestOptions.
monetaryCostnumberThe cost of the route. This property is only returned if the routeMode of the DirectionsRequestOptions is set to transit and the map culture is set to ja-jp.
northEastLocationThe location of the northeast corner of bounding box that defines the best map view of the route.
southWestLocationThe location of the southwest corner of bounding box that defines the best map view of the route.
timenumberThe total travel time, in seconds, for the route.
timeWithTrafficnumberThe total travel time, in seconds, taking into account traffic delays, for the route. This property is 0 if the avoidTraffic property of the DirectionsRequestOptions is set to false.
Show: