RouteDirectionsBatchItemResponseOutput interface
The result of the query. RouteDirections if the query completed successfully, ErrorResponse otherwise.
- Extends
Inherited Properties
error | The error object. |
format |
Format Version property |
optimized |
Optimized sequence of waypoints. It shows the index from the user provided waypoint sequence for the original and optimized list. For instance, a response:
means that the original sequence is [0, 1, 2] and optimized sequence is [1, 2, 0]. Since the index starts by 0 the original is "first, second, third" while the optimized is "second, third, first". |
report | Reports the effective settings used in the current call. |
routes | Routes array |
Inherited Property Details
error
formatVersion
Format Version property
formatVersion?: string
Property Value
string
Inherited From RouteDirectionsOutput.formatVersion
optimizedWaypoints
Optimized sequence of waypoints. It shows the index from the user provided waypoint sequence for the original and optimized list. For instance, a response:
<optimizedWaypoints>
<waypoint providedIndex="0" optimizedIndex="1"/>
<waypoint providedIndex="1" optimizedIndex="2"/>
<waypoint providedIndex="2" optimizedIndex="0"/>
</optimizedWaypoints>
means that the original sequence is [0, 1, 2] and optimized sequence is [1, 2, 0]. Since the index starts by 0 the original is "first, second, third" while the optimized is "second, third, first".
optimizedWaypoints?: RouteOptimizedWaypointOutput[]
Property Value
Inherited From RouteDirectionsOutput.optimizedWaypoints
report
Reports the effective settings used in the current call.
report?: RouteReportOutput
Property Value
Inherited From RouteDirectionsOutput.report
routes
Azure SDK for JavaScript