Azure Maps Route Readme Issues #24042
Labels
Client
This issue points to a problem in the data-plane of the library.
Docs
Maps
RestLevelClient
test-manual-pass
Section link
Reason:
Don't have package
@azure-core-auth
.Suggestion:
Update to
@azure/core-auth
.Section link1, link2
Reason1: Cannot redeclare block-scoped variable
routeDirectionsResult
and assignment to constant variable.Reason2:
summary
andlegs
are undefined.Reason3:
legs.points
andpoints.points
are undefined.Reason4:
points.points.forEach
function lacks parenthesis at the end.Suggestion1: Update first
const
tolet
and remove the secondconst
.Suggestion2:
Add code as following:
Suggestion3&4:
Update code as following:
Section link
Reason:
routeDirectionsResult.body.routes[0].optimizedWaypoints
is undefined.Suggestion:
Update to
routeDirectionsResult.body.optimizedWaypoints
@joheredi, @markweitzel, @dw511214992 for notification.
The text was updated successfully, but these errors were encountered: