DirectionsStep Object

Bing
 

Represents one direction in a set of route directions.

NameTypeDescription
childItineraryItemsDirectionsStep[]The child direction items for this directions step.
coordinateLocationThe location of the start of the direction.
distancestringThe total distance of the step in the unit specified in the distanceUnit property of the DirectionsRequestOptions.
durationInSecondsnumberThe total time, in seconds, of the direction step.
formattedTextstringThe HTML formatted route instruction associated with the step.
isImageRoadShieldbooleanA boolean indicating whether the maneuver image is a road shield image.
maneuverstringThe type of maneuver being performed
monetaryCostnumberThe cost of the step.
postIntersectionHintsstring[]An array of strings, where each string is a hint to help determine when to move to the next direction step. Not all direction steps have hints.
preIntersectionHintsstring[]An array of strings, where each string is a hint to help determine when you have arrived at this direction step. Not all direction steps have hints.
startStopNamestringThe name of the transit stop where this step originates.
transitLineTransitLineThe transit line associated with this step.
transitStepIconstringThe URL of the image to use for transit direction steps.
transitStopIdstringThe ID of the transit stop.
transitTerminusstringThe name of the transit line end.
warningsDirectionsStepWarning[]An array of route warnings associated with this step.
Show: