You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Route Matrix response returns a 5x5 multi-dimensional array where each row represents the origins and columns represent the destinations. Use the field `travelTimeInSeconds` to get the time cost for each location pair. The time unit should be consistent across the solution. Once the preprocessing stage is complete, the order, depot, fleet info and the cost matrix, are sent over and imported to the cuOpt Server via API calls.
Copy file name to clipboardExpand all lines: articles/azure-maps/tutorial-prioritized-routes.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,7 +231,7 @@ This section shows you how to use the Azure Maps Route service to get directions
231
231
endPoint.geometry.coordinates[1] + "," +
232
232
endPoint.geometry.coordinates[0];
233
233
//Make a search route request for a truck vehicle type
234
-
var truckRouteUrl = `https://atlas.microsoft.com/route/directions/json?api-version=2025-01-01&travelMode=truck&vehicleWidth=2&vehicleHeight=2&vehicleLength=5&vehicleLoadType=USHazmatClass2&query=${query}`;
234
+
var truckRouteUrl = `https://atlas.microsoft.com/route/directions/json?api-version=1.0&travelMode=truck&vehicleWidth=2&vehicleHeight=2&vehicleLength=5&vehicleLoadType=USHazmatClass2&query=${query}`;
235
235
fetch(truckRouteUrl, {
236
236
headers: {
237
237
"Subscription-Key": map.authentication.getToken()
@@ -275,7 +275,7 @@ This section shows you how to use the Azure Maps Route service to get directions
275
275
2. Next, append the following JavaScript code to create a route for a car.
276
276
277
277
```JavaScript
278
-
var carRouteUrl = `https://atlas.microsoft.com/route/directions/json?api-version=2025-01-01&query=${query}`;
278
+
var carRouteUrl = `https://atlas.microsoft.com/route/directions/json?api-version=1.0&query=${query}`;
0 commit comments