Skip to content

Commit a490568

Browse files
committed
Updated sample code GoeJSON for body of request.
1 parent f0594b0 commit a490568

File tree

1 file changed

+6
-26
lines changed

1 file changed

+6
-26
lines changed

articles/azure-maps/migrate-calculate-route.md

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ Included in the body of the request:
8282
"type": "Feature",
8383
"geometry": {
8484
"coordinates": [
85-
-122.201399,
86-
47.608678
85+
-122.204171,
86+
47.610173
8787
],
8888
"type": "Point"
8989
},
@@ -96,37 +96,17 @@ Included in the body of the request:
9696
"type": "Feature",
9797
"geometry": {
9898
"coordinates": [
99-
-122.20687,
100-
47.612002
99+
-122.204171,
100+
47.612440
101101
],
102102
"type": "Point"
103103
},
104104
"properties": {
105105
"pointIndex": 1,
106-
"pointType": "viaWaypoint"
107-
}
108-
},
109-
{
110-
"type": "Feature",
111-
"geometry": {
112-
"coordinates": [
113-
-122.201669,
114-
47.615076
115-
],
116-
"type": "Point"
117-
},
118-
"properties": {
119-
"pointIndex": 2,
120-
"pointType": "waypoint"
106+
"pointType": "Waypoint"
121107
}
122108
}
123-
],
124-
"optimizeRoute": "fastestWithTraffic",
125-
"routeOutputOptions": [
126-
"routePath"
127-
],
128-
"maxRouteCount": 3,
129-
"travelMode": "driving"
109+
]
130110
}
131111
```
132112

0 commit comments

Comments
 (0)