-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* doc and example fixes * Prettier whitespace changes * trying to fix Newtonsoft.Json.JsonSerializationException: Error converting value NoExplanation to type 'System.Collections.Generic.Dictionary * attempting to fix validaiton errors * attempting to fix validaiton errors
- Loading branch information
Showing
3 changed files
with
156 additions
and
29 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
.../maps/data-plane/Creator/preview/2022-09-01-preview/examples/wayfind/Wayfind_GetPath.json
This file was deleted.
Oops, something went wrong.
142 changes: 142 additions & 0 deletions
142
...ps/data-plane/Creator/preview/2022-09-01-preview/examples/wayfind/Wayfinding_GetPath.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
{ | ||
"parameters": { | ||
"geography": "us", | ||
"api-version": "2022-09-01-preview", | ||
"routesetId": "[routeset-Id]", | ||
"facilityId": "[facility-Id]", | ||
"fromPoint": "47.652882287901065,-122.13400410050512", | ||
"fromLevel": "-1", | ||
"toPoint": "47.652870534630466,-122.13382884389553", | ||
"toLevel": "0" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"noResultExplanation": "NoExplanation", | ||
"paths": [ | ||
{ | ||
"lengthInMeters": 51.27548, | ||
"timeInSeconds": 60, | ||
"legs": [ | ||
{ | ||
"mode": "Default", | ||
"lengthInMeters": 14.7605, | ||
"timeInSeconds": 15, | ||
"startLevel": 0, | ||
"endLevel": 0, | ||
"points": [ | ||
{ | ||
"latitude": 47.6528823, | ||
"longitude": -122.1340041 | ||
}, | ||
{ | ||
"latitude": 47.6528688, | ||
"longitude": -122.1340336 | ||
}, | ||
{ | ||
"latitude": 47.6528591, | ||
"longitude": -122.1340534 | ||
}, | ||
{ | ||
"latitude": 47.6528309, | ||
"longitude": -122.1341107 | ||
}, | ||
{ | ||
"latitude": 47.6527984, | ||
"longitude": -122.1341556 | ||
} | ||
] | ||
}, | ||
{ | ||
"mode": "Stair", | ||
"lengthInMeters": 7.88608, | ||
"timeInSeconds": 16, | ||
"startLevel": 0, | ||
"endLevel": 1, | ||
"points": [ | ||
{ | ||
"latitude": 47.6527984, | ||
"longitude": -122.1341556 | ||
}, | ||
{ | ||
"latitude": 47.6527843, | ||
"longitude": -122.1341395 | ||
} | ||
] | ||
}, | ||
{ | ||
"mode": "Default", | ||
"lengthInMeters": 28.6289, | ||
"timeInSeconds": 29, | ||
"startLevel": 1, | ||
"endLevel": 1, | ||
"points": [ | ||
{ | ||
"latitude": 47.6527843, | ||
"longitude": -122.1341395 | ||
}, | ||
{ | ||
"latitude": 47.6527843, | ||
"longitude": -122.1341395 | ||
}, | ||
{ | ||
"latitude": 47.6527843, | ||
"longitude": -122.1341395 | ||
}, | ||
{ | ||
"latitude": 47.6527846, | ||
"longitude": -122.1341332 | ||
}, | ||
{ | ||
"latitude": 47.652789, | ||
"longitude": -122.1341315 | ||
}, | ||
{ | ||
"latitude": 47.6527898, | ||
"longitude": -122.1341312 | ||
}, | ||
{ | ||
"latitude": 47.6527913, | ||
"longitude": -122.1341306 | ||
}, | ||
{ | ||
"latitude": 47.6527938, | ||
"longitude": -122.1341295 | ||
}, | ||
{ | ||
"latitude": 47.6528309, | ||
"longitude": -122.1341137 | ||
}, | ||
{ | ||
"latitude": 47.652856, | ||
"longitude": -122.1340564 | ||
}, | ||
{ | ||
"latitude": 47.6528694, | ||
"longitude": -122.1340372 | ||
}, | ||
{ | ||
"latitude": 47.652873, | ||
"longitude": -122.1339296 | ||
}, | ||
{ | ||
"latitude": 47.6528735, | ||
"longitude": -122.1339124 | ||
}, | ||
{ | ||
"latitude": 47.6528733, | ||
"longitude": -122.1339095 | ||
}, | ||
{ | ||
"latitude": 47.6528732, | ||
"longitude": -122.1338288 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters