aspernaturalias 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (370) hide show
  1. package/.prettierignore +2 -0
  2. package/.travis.yml +31 -0
  3. package/.vscode/launch.json +24 -0
  4. package/.vscode/settings.json +3 -0
  5. package/codecov.yml +3 -0
  6. package/demos/ago-node-cli/README.md +29 -0
  7. package/demos/ago-node-cli/ago.js +33 -0
  8. package/demos/ago-node-cli/index.js +11 -0
  9. package/demos/ago-node-cli/lib/item-export-command.js +48 -0
  10. package/demos/ago-node-cli/lib/item-search-command.js +35 -0
  11. package/demos/ago-node-cli/package-lock.json +152 -0
  12. package/demos/ago-node-cli/package.json +30 -0
  13. package/demos/attachments/README.md +5 -0
  14. package/demos/attachments/index.html +164 -0
  15. package/demos/attachments/package-lock.json +182 -0
  16. package/demos/attachments/package.json +18 -0
  17. package/demos/batch-geocoder-node/NYC_Restaurant_Inspection_Results.csv +100 -0
  18. package/demos/batch-geocoder-node/README.md +15 -0
  19. package/demos/batch-geocoder-node/batch-geocode.js +115 -0
  20. package/demos/batch-geocoder-node/config-template.js +18 -0
  21. package/demos/batch-geocoder-node/package-lock.json +94 -0
  22. package/demos/batch-geocoder-node/package.json +38 -0
  23. package/demos/express/README.md +15 -0
  24. package/demos/express/config.json.template +3 -0
  25. package/demos/express/package-lock.json +413 -0
  26. package/demos/express/package.json +18 -0
  27. package/demos/express/server.js +33 -0
  28. package/demos/feature-service-browser/README.md +6 -0
  29. package/demos/feature-service-browser/index.html +122 -0
  30. package/demos/feature-service-browser/package-lock.json +182 -0
  31. package/demos/feature-service-browser/package.json +18 -0
  32. package/demos/geocoder-browser/README.md +10 -0
  33. package/demos/geocoder-browser/config.js.template +1 -0
  34. package/demos/geocoder-browser/index.html +131 -0
  35. package/demos/geocoder-browser/package-lock.json +182 -0
  36. package/demos/geocoder-browser/package.json +19 -0
  37. package/demos/geocoder-browser/post-sign-in.html +25 -0
  38. package/demos/jsapi-integration/README.md +25 -0
  39. package/demos/jsapi-integration/config.js +6 -0
  40. package/demos/jsapi-integration/index.html +85 -0
  41. package/demos/jsapi-integration/package-lock.json +184 -0
  42. package/demos/jsapi-integration/package.json +19 -0
  43. package/demos/node-cli-item-management/README.md +10 -0
  44. package/demos/node-cli-item-management/index.js +238 -0
  45. package/demos/node-cli-item-management/package-lock.json +152 -0
  46. package/demos/node-cli-item-management/package.json +27 -0
  47. package/demos/node-cli-item-management/screenshot.png +0 -0
  48. package/demos/oauth2-browser/README.md +14 -0
  49. package/demos/oauth2-browser/authenticate.html +30 -0
  50. package/demos/oauth2-browser/config.js.template +6 -0
  51. package/demos/oauth2-browser/index.html +202 -0
  52. package/demos/oauth2-browser/logo.svg +4 -0
  53. package/demos/oauth2-browser/package-lock.json +163 -0
  54. package/demos/oauth2-browser/package.json +18 -0
  55. package/demos/oauth2-browser/style.css +36 -0
  56. package/demos/oauth2-browser-retry/README.md +25 -0
  57. package/demos/oauth2-browser-retry/authenticate.html +22 -0
  58. package/demos/oauth2-browser-retry/index.html +116 -0
  59. package/demos/oauth2-browser-retry/logo.svg +4 -0
  60. package/demos/stream-response-to-file/README.md +7 -0
  61. package/demos/stream-response-to-file/index.js +36 -0
  62. package/demos/stream-response-to-file/output/.gitkeep +0 -0
  63. package/demos/stream-response-to-file/package-lock.json +60 -0
  64. package/demos/stream-response-to-file/package.json +33 -0
  65. package/demos/tree-shaking-rollup/.babelrc +3 -0
  66. package/demos/tree-shaking-rollup/README.md +9 -0
  67. package/demos/tree-shaking-rollup/index.html +11 -0
  68. package/demos/tree-shaking-rollup/package-lock.json +2225 -0
  69. package/demos/tree-shaking-rollup/package.json +25 -0
  70. package/demos/tree-shaking-rollup/rollup.config.js +17 -0
  71. package/demos/tree-shaking-rollup/src/index.js +8 -0
  72. package/demos/tree-shaking-webpack/README.md +9 -0
  73. package/demos/tree-shaking-webpack/index.html +11 -0
  74. package/demos/tree-shaking-webpack/package-lock.json +4595 -0
  75. package/demos/tree-shaking-webpack/package.json +24 -0
  76. package/demos/tree-shaking-webpack/src/index.js +10 -0
  77. package/demos/tree-shaking-webpack/webpack.config.js +27 -0
  78. package/demos/vue/.env.example +11 -0
  79. package/demos/vue/.eslintrc.js +17 -0
  80. package/demos/vue/.postcssrc.js +5 -0
  81. package/demos/vue/README.md +17 -0
  82. package/demos/vue/babel.config.js +3 -0
  83. package/demos/vue/package-lock.json +11323 -0
  84. package/demos/vue/package.json +33 -0
  85. package/demos/vue/public/favicon.ico +0 -0
  86. package/demos/vue/public/index.html +24 -0
  87. package/demos/vue/src/assets/logo.svg +29 -0
  88. package/demos/vue/src/components/App.vue +305 -0
  89. package/demos/vue/src/components/Authenticate.vue +65 -0
  90. package/demos/vue/src/components/Loader.vue +230 -0
  91. package/demos/vue/src/main.js +92 -0
  92. package/demos/webmap-checker-sapper/.env.example +5 -0
  93. package/demos/webmap-checker-sapper/README.md +123 -0
  94. package/demos/webmap-checker-sapper/appveyor.yml +18 -0
  95. package/demos/webmap-checker-sapper/cypress/fixtures/example.json +5 -0
  96. package/demos/webmap-checker-sapper/cypress/integration/spec.js +19 -0
  97. package/demos/webmap-checker-sapper/cypress/plugins/index.js +17 -0
  98. package/demos/webmap-checker-sapper/cypress/support/commands.js +25 -0
  99. package/demos/webmap-checker-sapper/cypress/support/index.js +20 -0
  100. package/demos/webmap-checker-sapper/cypress.json +4 -0
  101. package/demos/webmap-checker-sapper/package-lock.json +3851 -0
  102. package/demos/webmap-checker-sapper/package.json +50 -0
  103. package/demos/webmap-checker-sapper/rollup.config.js +87 -0
  104. package/demos/webmap-checker-sapper/src/client.js +20 -0
  105. package/demos/webmap-checker-sapper/src/components/LayerStatus.html +108 -0
  106. package/demos/webmap-checker-sapper/src/components/Nav.html +21 -0
  107. package/demos/webmap-checker-sapper/src/components/WebMap.html +62 -0
  108. package/demos/webmap-checker-sapper/src/routes/_error.html +41 -0
  109. package/demos/webmap-checker-sapper/src/routes/_layout.html +21 -0
  110. package/demos/webmap-checker-sapper/src/routes/auth/authorize.js +18 -0
  111. package/demos/webmap-checker-sapper/src/routes/auth/exchange-token.js +20 -0
  112. package/demos/webmap-checker-sapper/src/routes/auth/post-sign-in.js +24 -0
  113. package/demos/webmap-checker-sapper/src/routes/auth/sign-out.js +10 -0
  114. package/demos/webmap-checker-sapper/src/routes/index.html +20 -0
  115. package/demos/webmap-checker-sapper/src/routes/webmaps/[webmapId].html +83 -0
  116. package/demos/webmap-checker-sapper/src/routes/webmaps/index.html +59 -0
  117. package/demos/webmap-checker-sapper/src/server.js +101 -0
  118. package/demos/webmap-checker-sapper/src/service-worker.js +82 -0
  119. package/demos/webmap-checker-sapper/src/template.html +33 -0
  120. package/demos/webmap-checker-sapper/src/userInfoMiddleware.js +21 -0
  121. package/demos/webmap-checker-sapper/src/utils.js +33 -0
  122. package/demos/webmap-checker-sapper/static/favicon.png +0 -0
  123. package/demos/webmap-checker-sapper/static/global.css +36 -0
  124. package/demos/webmap-checker-sapper/static/manifest.json +20 -0
  125. package/demos/webmap-checker-sapper/static/svelte-logo-192.png +0 -0
  126. package/demos/webmap-checker-sapper/static/svelte-logo-512.png +0 -0
  127. package/docs/FAQ.md +48 -0
  128. package/docs/HISTORY.md +62 -0
  129. package/docs/acetate.config.js +262 -0
  130. package/docs/build-typedoc.js +434 -0
  131. package/docs/generate-srihashes.js +53 -0
  132. package/docs/src/_layout.html +86 -0
  133. package/docs/src/api/_declaration.html +600 -0
  134. package/docs/src/api/_layout.html +204 -0
  135. package/docs/src/api/_package.html +38 -0
  136. package/docs/src/api/index.html +16 -0
  137. package/docs/src/guides/_layout.html +24 -0
  138. package/docs/src/guides/amd-requirejs-dojo.md +40 -0
  139. package/docs/src/guides/browser-authentication.md +41 -0
  140. package/docs/src/guides/bundlers.md +52 -0
  141. package/docs/src/guides/cli-authentication.md +9 -0
  142. package/docs/src/guides/client-server-authentication.md +9 -0
  143. package/docs/src/guides/from-a-cdn.md +38 -0
  144. package/docs/src/guides/index.md +59 -0
  145. package/docs/src/guides/node.md +87 -0
  146. package/docs/src/guides/package-overview.md +111 -0
  147. package/docs/src/guides/server-authentication.md +9 -0
  148. package/docs/src/guides/whats-new-v2-0.md +305 -0
  149. package/docs/src/img/icons.png +0 -0
  150. package/docs/src/img/icons@2x.png +0 -0
  151. package/docs/src/index.html +12 -0
  152. package/docs/src/js/api-search.js +112 -0
  153. package/docs/src/js/nav-toggle.js +41 -0
  154. package/docs/src/sass/_highlight.scss +96 -0
  155. package/docs/src/sass/_icons.scss +157 -0
  156. package/docs/src/sass/style.scss +242 -0
  157. package/docs/src/srihashes.json +12 -0
  158. package/jasmine.json +7 -0
  159. package/karma.conf.js +106 -0
  160. package/lerna.json +8 -0
  161. package/notes/README.md +88 -0
  162. package/package.json +129 -0
  163. package/packages/arcgis-rest-auth/README.md +71 -0
  164. package/packages/arcgis-rest-auth/package-lock.json +11 -0
  165. package/packages/arcgis-rest-auth/package.json +69 -0
  166. package/packages/arcgis-rest-auth/src/ApplicationSession.ts +122 -0
  167. package/packages/arcgis-rest-auth/src/UserSession.ts +997 -0
  168. package/packages/arcgis-rest-auth/src/authenticated-request-options.ts +24 -0
  169. package/packages/arcgis-rest-auth/src/fetch-token.ts +50 -0
  170. package/packages/arcgis-rest-auth/src/generate-token.ts +35 -0
  171. package/packages/arcgis-rest-auth/src/index.ts +9 -0
  172. package/packages/arcgis-rest-auth/test/ApplicationSession.test.ts +124 -0
  173. package/packages/arcgis-rest-auth/test/UserSession.test.ts +1315 -0
  174. package/packages/arcgis-rest-auth/test/fetchToken.test.ts +112 -0
  175. package/packages/arcgis-rest-auth/test/generateToken.test.ts +102 -0
  176. package/packages/arcgis-rest-auth/test/utils.ts +14 -0
  177. package/packages/arcgis-rest-auth/tsconfig.json +6 -0
  178. package/packages/arcgis-rest-feature-layer/README.md +77 -0
  179. package/packages/arcgis-rest-feature-layer/package-lock.json +11 -0
  180. package/packages/arcgis-rest-feature-layer/package.json +64 -0
  181. package/packages/arcgis-rest-feature-layer/src/add.ts +56 -0
  182. package/packages/arcgis-rest-feature-layer/src/addAttachment.ts +53 -0
  183. package/packages/arcgis-rest-feature-layer/src/decodeValues.ts +124 -0
  184. package/packages/arcgis-rest-feature-layer/src/delete.ts +61 -0
  185. package/packages/arcgis-rest-feature-layer/src/deleteAttachments.ts +52 -0
  186. package/packages/arcgis-rest-feature-layer/src/getAttachments.ts +55 -0
  187. package/packages/arcgis-rest-feature-layer/src/getLayer.ts +24 -0
  188. package/packages/arcgis-rest-feature-layer/src/helpers.ts +55 -0
  189. package/packages/arcgis-rest-feature-layer/src/index.ts +28 -0
  190. package/packages/arcgis-rest-feature-layer/src/query.ts +203 -0
  191. package/packages/arcgis-rest-feature-layer/src/queryRelated.ts +89 -0
  192. package/packages/arcgis-rest-feature-layer/src/update.ts +56 -0
  193. package/packages/arcgis-rest-feature-layer/src/updateAttachment.ts +59 -0
  194. package/packages/arcgis-rest-feature-layer/test/attachments.test.ts +202 -0
  195. package/packages/arcgis-rest-feature-layer/test/crud.test.ts +130 -0
  196. package/packages/arcgis-rest-feature-layer/test/decodeValues.test.ts +67 -0
  197. package/packages/arcgis-rest-feature-layer/test/getLayer.test.ts +31 -0
  198. package/packages/arcgis-rest-feature-layer/test/mocks/cvdQueryResponse.ts +225 -0
  199. package/packages/arcgis-rest-feature-layer/test/mocks/feature.ts +281 -0
  200. package/packages/arcgis-rest-feature-layer/test/mocks/fields.ts +779 -0
  201. package/packages/arcgis-rest-feature-layer/test/mocks/foo.txt +1 -0
  202. package/packages/arcgis-rest-feature-layer/test/mocks/service.ts +259 -0
  203. package/packages/arcgis-rest-feature-layer/test/query.test.ts +168 -0
  204. package/packages/arcgis-rest-feature-layer/tsconfig.json +6 -0
  205. package/packages/arcgis-rest-geocoding/README.md +86 -0
  206. package/packages/arcgis-rest-geocoding/package-lock.json +11 -0
  207. package/packages/arcgis-rest-geocoding/package.json +64 -0
  208. package/packages/arcgis-rest-geocoding/src/bulk.ts +105 -0
  209. package/packages/arcgis-rest-geocoding/src/geocode.ts +130 -0
  210. package/packages/arcgis-rest-geocoding/src/helpers.ts +54 -0
  211. package/packages/arcgis-rest-geocoding/src/index.ts +15 -0
  212. package/packages/arcgis-rest-geocoding/src/reverse.ts +84 -0
  213. package/packages/arcgis-rest-geocoding/src/suggest.ts +45 -0
  214. package/packages/arcgis-rest-geocoding/test/bulk.test.ts +151 -0
  215. package/packages/arcgis-rest-geocoding/test/geocode.test.ts +212 -0
  216. package/packages/arcgis-rest-geocoding/test/helpers.test.ts +85 -0
  217. package/packages/arcgis-rest-geocoding/test/mocks/responses.ts +637 -0
  218. package/packages/arcgis-rest-geocoding/test/reverse.test.ts +126 -0
  219. package/packages/arcgis-rest-geocoding/test/suggest.test.ts +53 -0
  220. package/packages/arcgis-rest-geocoding/tsconfig.json +6 -0
  221. package/packages/arcgis-rest-portal/README.md +73 -0
  222. package/packages/arcgis-rest-portal/package-lock.json +11 -0
  223. package/packages/arcgis-rest-portal/package.json +64 -0
  224. package/packages/arcgis-rest-portal/src/groups/create.ts +43 -0
  225. package/packages/arcgis-rest-portal/src/groups/get.ts +99 -0
  226. package/packages/arcgis-rest-portal/src/groups/helpers.ts +14 -0
  227. package/packages/arcgis-rest-portal/src/groups/join.ts +57 -0
  228. package/packages/arcgis-rest-portal/src/groups/notification.ts +77 -0
  229. package/packages/arcgis-rest-portal/src/groups/protect.ts +56 -0
  230. package/packages/arcgis-rest-portal/src/groups/remove.ts +32 -0
  231. package/packages/arcgis-rest-portal/src/groups/search.ts +25 -0
  232. package/packages/arcgis-rest-portal/src/groups/update.ts +39 -0
  233. package/packages/arcgis-rest-portal/src/index.ts +48 -0
  234. package/packages/arcgis-rest-portal/src/items/add.ts +137 -0
  235. package/packages/arcgis-rest-portal/src/items/create.ts +128 -0
  236. package/packages/arcgis-rest-portal/src/items/get.ts +177 -0
  237. package/packages/arcgis-rest-portal/src/items/helpers.ts +193 -0
  238. package/packages/arcgis-rest-portal/src/items/protect.ts +39 -0
  239. package/packages/arcgis-rest-portal/src/items/remove.ts +131 -0
  240. package/packages/arcgis-rest-portal/src/items/search.ts +25 -0
  241. package/packages/arcgis-rest-portal/src/items/update.ts +145 -0
  242. package/packages/arcgis-rest-portal/src/sharing/access.ts +84 -0
  243. package/packages/arcgis-rest-portal/src/sharing/group-sharing.ts +210 -0
  244. package/packages/arcgis-rest-portal/src/sharing/helpers.ts +84 -0
  245. package/packages/arcgis-rest-portal/src/users/get-user-url.ts +18 -0
  246. package/packages/arcgis-rest-portal/src/users/get-user.ts +58 -0
  247. package/packages/arcgis-rest-portal/src/users/invitation.ts +162 -0
  248. package/packages/arcgis-rest-portal/src/users/notification.ts +70 -0
  249. package/packages/arcgis-rest-portal/src/users/update.ts +66 -0
  250. package/packages/arcgis-rest-portal/src/util/SearchQueryBuilder.ts +374 -0
  251. package/packages/arcgis-rest-portal/src/util/generic-search.ts +67 -0
  252. package/packages/arcgis-rest-portal/src/util/get-portal-url.ts +27 -0
  253. package/packages/arcgis-rest-portal/src/util/get-portal.ts +52 -0
  254. package/packages/arcgis-rest-portal/src/util/search.ts +38 -0
  255. package/packages/arcgis-rest-portal/test/groups/crud.test.ts +180 -0
  256. package/packages/arcgis-rest-portal/test/groups/get.test.ts +101 -0
  257. package/packages/arcgis-rest-portal/test/groups/join.test.ts +72 -0
  258. package/packages/arcgis-rest-portal/test/groups/notification.test.ts +112 -0
  259. package/packages/arcgis-rest-portal/test/groups/protect.test.ts +72 -0
  260. package/packages/arcgis-rest-portal/test/groups/search.test.ts +110 -0
  261. package/packages/arcgis-rest-portal/test/items/add.test.ts +321 -0
  262. package/packages/arcgis-rest-portal/test/items/create.test.ts +375 -0
  263. package/packages/arcgis-rest-portal/test/items/get.test.ts +309 -0
  264. package/packages/arcgis-rest-portal/test/items/protect.test.ts +122 -0
  265. package/packages/arcgis-rest-portal/test/items/remove.test.ts +238 -0
  266. package/packages/arcgis-rest-portal/test/items/search.test.ts +272 -0
  267. package/packages/arcgis-rest-portal/test/items/update.test.ts +515 -0
  268. package/packages/arcgis-rest-portal/test/mocks/groups/responses.ts +144 -0
  269. package/packages/arcgis-rest-portal/test/mocks/items/foo.zip +0 -0
  270. package/packages/arcgis-rest-portal/test/mocks/items/item.ts +122 -0
  271. package/packages/arcgis-rest-portal/test/mocks/items/resources.ts +31 -0
  272. package/packages/arcgis-rest-portal/test/mocks/items/search.ts +121 -0
  273. package/packages/arcgis-rest-portal/test/mocks/portal/response.ts +112 -0
  274. package/packages/arcgis-rest-portal/test/mocks/sharing/sharing.ts +18 -0
  275. package/packages/arcgis-rest-portal/test/mocks/users/invitation.ts +70 -0
  276. package/packages/arcgis-rest-portal/test/mocks/users/notification.ts +34 -0
  277. package/packages/arcgis-rest-portal/test/mocks/users/user.ts +173 -0
  278. package/packages/arcgis-rest-portal/test/sharing/access.test.ts +162 -0
  279. package/packages/arcgis-rest-portal/test/sharing/group-sharing.test.ts +650 -0
  280. package/packages/arcgis-rest-portal/test/sharing/helpers.test.ts +55 -0
  281. package/packages/arcgis-rest-portal/test/users/get-user-url.test.ts +40 -0
  282. package/packages/arcgis-rest-portal/test/users/get-user.test.ts +90 -0
  283. package/packages/arcgis-rest-portal/test/users/invitation.test.ts +127 -0
  284. package/packages/arcgis-rest-portal/test/users/notification.test.ts +77 -0
  285. package/packages/arcgis-rest-portal/test/users/update.test.ts +151 -0
  286. package/packages/arcgis-rest-portal/test/util/SearchQueryBuilder.test.ts +340 -0
  287. package/packages/arcgis-rest-portal/test/util/get-portal-url.test.ts +37 -0
  288. package/packages/arcgis-rest-portal/test/util/portal.test.ts +97 -0
  289. package/packages/arcgis-rest-portal/tsconfig.json +6 -0
  290. package/packages/arcgis-rest-request/README.md +72 -0
  291. package/packages/arcgis-rest-request/package-lock.json +11 -0
  292. package/packages/arcgis-rest-request/package.json +60 -0
  293. package/packages/arcgis-rest-request/src/index.ts +24 -0
  294. package/packages/arcgis-rest-request/src/request.ts +389 -0
  295. package/packages/arcgis-rest-request/src/utils/ArcGISRequestError.ts +76 -0
  296. package/packages/arcgis-rest-request/src/utils/ErrorTypes.ts +29 -0
  297. package/packages/arcgis-rest-request/src/utils/GrantTypes.ts +5 -0
  298. package/packages/arcgis-rest-request/src/utils/HTTPMethods.ts +6 -0
  299. package/packages/arcgis-rest-request/src/utils/IAuthenticationManager.ts +21 -0
  300. package/packages/arcgis-rest-request/src/utils/IFetchTokenParams.ts +11 -0
  301. package/packages/arcgis-rest-request/src/utils/IGenerateTokenParams.ts +9 -0
  302. package/packages/arcgis-rest-request/src/utils/IParamBuilder.ts +3 -0
  303. package/packages/arcgis-rest-request/src/utils/IParams.ts +6 -0
  304. package/packages/arcgis-rest-request/src/utils/IParamsBuilder.ts +5 -0
  305. package/packages/arcgis-rest-request/src/utils/IRequestOptions.ts +43 -0
  306. package/packages/arcgis-rest-request/src/utils/ITokenRequestOptions.ts +9 -0
  307. package/packages/arcgis-rest-request/src/utils/ResponseFormats.ts +10 -0
  308. package/packages/arcgis-rest-request/src/utils/append-custom-params.ts +49 -0
  309. package/packages/arcgis-rest-request/src/utils/clean-url.ts +16 -0
  310. package/packages/arcgis-rest-request/src/utils/encode-form-data.ts +38 -0
  311. package/packages/arcgis-rest-request/src/utils/encode-query-string.ts +23 -0
  312. package/packages/arcgis-rest-request/src/utils/process-params.ts +109 -0
  313. package/packages/arcgis-rest-request/src/utils/retryAuthError.ts +10 -0
  314. package/packages/arcgis-rest-request/src/utils/warn.ts +11 -0
  315. package/packages/arcgis-rest-request/src/utils/with-options.ts +48 -0
  316. package/packages/arcgis-rest-request/test/mocks/errors.ts +76 -0
  317. package/packages/arcgis-rest-request/test/mocks/geojson-feature-collection.ts +13 -0
  318. package/packages/arcgis-rest-request/test/mocks/param-builder.ts +7 -0
  319. package/packages/arcgis-rest-request/test/mocks/sharing-rest-info.ts +41 -0
  320. package/packages/arcgis-rest-request/test/mocks/webmap.ts +41 -0
  321. package/packages/arcgis-rest-request/test/request.test.ts +496 -0
  322. package/packages/arcgis-rest-request/test/utils/ArcGISAuthError.test.ts +191 -0
  323. package/packages/arcgis-rest-request/test/utils/ArcGISRequestError.test.ts +51 -0
  324. package/packages/arcgis-rest-request/test/utils/check-for-errors.test.ts +111 -0
  325. package/packages/arcgis-rest-request/test/utils/clean-url.test.ts +47 -0
  326. package/packages/arcgis-rest-request/test/utils/encode-form-data.test.ts +133 -0
  327. package/packages/arcgis-rest-request/test/utils/process-params.test.ts +193 -0
  328. package/packages/arcgis-rest-request/test/utils/with-options.test.ts +133 -0
  329. package/packages/arcgis-rest-request/tsconfig.json +4 -0
  330. package/packages/arcgis-rest-routing/README.md +75 -0
  331. package/packages/arcgis-rest-routing/package-lock.json +11 -0
  332. package/packages/arcgis-rest-routing/package.json +63 -0
  333. package/packages/arcgis-rest-routing/src/helpers.ts +16 -0
  334. package/packages/arcgis-rest-routing/src/index.ts +11 -0
  335. package/packages/arcgis-rest-routing/src/solveRoute.ts +124 -0
  336. package/packages/arcgis-rest-routing/test/mocks/responses.ts +825 -0
  337. package/packages/arcgis-rest-routing/test/solveRoute.test.ts +509 -0
  338. package/packages/arcgis-rest-routing/tsconfig.json +6 -0
  339. package/packages/arcgis-rest-service-admin/README.md +73 -0
  340. package/packages/arcgis-rest-service-admin/package-lock.json +11 -0
  341. package/packages/arcgis-rest-service-admin/package.json +65 -0
  342. package/packages/arcgis-rest-service-admin/src/addTo.ts +70 -0
  343. package/packages/arcgis-rest-service-admin/src/create.ts +213 -0
  344. package/packages/arcgis-rest-service-admin/src/index.ts +9 -0
  345. package/packages/arcgis-rest-service-admin/test/addTo.test.ts +350 -0
  346. package/packages/arcgis-rest-service-admin/test/create.test.ts +377 -0
  347. package/packages/arcgis-rest-service-admin/test/mocks/layerDefinition.ts +79 -0
  348. package/packages/arcgis-rest-service-admin/test/mocks/move.ts +11 -0
  349. package/packages/arcgis-rest-service-admin/test/mocks/service.ts +69 -0
  350. package/packages/arcgis-rest-service-admin/tsconfig.json +6 -0
  351. package/packages/arcgis-rest-types/README.md +66 -0
  352. package/packages/arcgis-rest-types/package.json +54 -0
  353. package/packages/arcgis-rest-types/src/feature.ts +39 -0
  354. package/packages/arcgis-rest-types/src/geometry.ts +272 -0
  355. package/packages/arcgis-rest-types/src/group.ts +72 -0
  356. package/packages/arcgis-rest-types/src/index.ts +7 -0
  357. package/packages/arcgis-rest-types/src/item.ts +65 -0
  358. package/packages/arcgis-rest-types/src/symbol.ts +170 -0
  359. package/packages/arcgis-rest-types/src/user.ts +48 -0
  360. package/packages/arcgis-rest-types/src/webmap.ts +1345 -0
  361. package/packages/arcgis-rest-types/tsconfig.json +9 -0
  362. package/support/changelog.js +393 -0
  363. package/support/deploy-doc-site.js +16 -0
  364. package/support/dev.sh +6 -0
  365. package/support/publish.sh +47 -0
  366. package/support/test-helpers.js +9 -0
  367. package/tsconfig.json +63 -0
  368. package/tslint.json +16 -0
  369. package/umd-base-profile.js +81 -0
  370. package/umd-production-profile.js +13 -0
@@ -0,0 +1,825 @@
1
+ /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
2
+ * Apache-2.0 */
3
+
4
+ export const Solve = {
5
+ messages: ["test"],
6
+ checksum: "PtxsAFbCZwA.",
7
+ routes: {
8
+ fieldAliases: {
9
+ ObjectID: "ObjectID",
10
+ Name: "Name",
11
+ FirstStopID: "FirstStopID",
12
+ LastStopID: "LastStopID",
13
+ StopCount: "StopCount",
14
+ Total_TravelTime: "Total_TravelTime",
15
+ Total_Kilometers: "Total_Kilometers",
16
+ Total_Miles: "Total_Miles",
17
+ Shape_Length: "Shape_Length"
18
+ },
19
+ geometryType: "esriGeometryPolyline",
20
+ spatialReference: {
21
+ wkid: 4326,
22
+ latestWkid: 4326
23
+ },
24
+ features: [
25
+ {
26
+ attributes: {
27
+ ObjectID: 1,
28
+ Name: "Location 1 - Location 2",
29
+ FirstStopID: 1,
30
+ LastStopID: 2,
31
+ StopCount: 2,
32
+ Total_TravelTime: 73.070791262950962,
33
+ Total_Kilometers: 84.98294502390344,
34
+ Total_Miles: 52.80595386934268,
35
+ Shape_Length: 0.87271129860372554
36
+ },
37
+ geometry: {
38
+ paths: [
39
+ [
40
+ [-117.19569999999999, 34.056490000000053],
41
+ [-117.19570999999996, 34.058600000000069],
42
+ [-117.19570999999996, 34.058740000000057],
43
+ [-117.19571999999999, 34.059240000000045],
44
+ [-117.19570999999996, 34.059490000000039],
45
+ [-117.19570999999996, 34.059620000000052],
46
+ [-117.19821999999999, 34.060340000000053],
47
+ [-117.19871999999998, 34.060480000000041],
48
+ [-117.19934999999998, 34.060660000000041],
49
+ [-117.20010999999994, 34.060870000000079],
50
+ [-117.20382999999998, 34.061910000000069],
51
+ [-117.20442999999995, 34.062080000000037],
52
+ [-117.20467999999994, 34.062150000000031],
53
+ [-117.20502999999997, 34.062250000000063],
54
+ [-117.20594999999997, 34.062520000000063],
55
+ [-117.20761999999996, 34.062880000000064],
56
+ [-117.20789999999994, 34.062910000000045],
57
+ [-117.20821999999998, 34.062930000000051],
58
+ [-117.20879999999994, 34.062870000000032],
59
+ [-117.20877999999999, 34.063300000000027],
60
+ [-117.20876999999996, 34.063510000000065],
61
+ [-117.20876999999996, 34.063930000000028],
62
+ [-117.20875999999998, 34.064200000000028],
63
+ [-117.20875999999998, 34.064420000000041],
64
+ [-117.20875999999998, 34.06475000000006],
65
+ [-117.20874999999995, 34.065150000000074],
66
+ [-117.20874999999995, 34.06555000000003],
67
+ [-117.20873999999998, 34.066050000000075],
68
+ [-117.20873999999998, 34.06624000000005],
69
+ [-117.20874999999995, 34.06648000000007],
70
+ [-117.20873999999998, 34.066890000000058],
71
+ [-117.20873999999998, 34.067030000000045],
72
+ [-117.20873999999998, 34.067360000000065],
73
+ [-117.21133999999995, 34.067050000000052],
74
+ [-117.21457999999996, 34.066760000000045],
75
+ [-117.21491999999995, 34.066760000000045],
76
+ [-117.21512999999999, 34.066760000000045],
77
+ [-117.21582999999998, 34.066760000000045],
78
+ [-117.21681999999998, 34.066760000000045],
79
+ [-117.21731999999997, 34.066760000000045],
80
+ [-117.21908999999999, 34.066760000000045],
81
+ [-117.21955999999994, 34.066760000000045],
82
+ [-117.21998999999994, 34.066760000000045],
83
+ [-117.22467999999998, 34.066740000000038],
84
+ [-117.22589999999997, 34.066730000000064],
85
+ [-117.22649999999999, 34.066730000000064],
86
+ [-117.23451999999997, 34.066730000000064],
87
+ [-117.23527999999999, 34.066730000000064],
88
+ [-117.23729999999995, 34.066730000000064],
89
+ [-117.24332999999996, 34.066730000000064],
90
+ [-117.24367999999998, 34.066730000000064],
91
+ [-117.24405999999999, 34.066720000000032],
92
+ [-117.25138999999996, 34.066620000000057],
93
+ [-117.25241999999997, 34.066500000000076],
94
+ [-117.25408999999996, 34.06615000000005],
95
+ [-117.25443999999999, 34.066070000000025],
96
+ [-117.25489999999996, 34.06597000000005],
97
+ [-117.26117999999997, 34.064600000000041],
98
+ [-117.26457999999997, 34.064120000000059],
99
+ [-117.26765999999998, 34.063940000000059],
100
+ [-117.26830999999999, 34.063930000000028],
101
+ [-117.26935999999995, 34.063930000000028],
102
+ [-117.27023999999994, 34.063920000000053],
103
+ [-117.27069999999998, 34.063920000000053],
104
+ [-117.27388999999999, 34.063950000000034],
105
+ [-117.27657999999997, 34.064250000000072],
106
+ [-117.27793999999994, 34.064380000000028],
107
+ [-117.27880999999996, 34.06439000000006],
108
+ [-117.28122999999999, 34.06421000000006],
109
+ [-117.28439999999995, 34.063960000000066],
110
+ [-117.28482999999994, 34.063930000000028],
111
+ [-117.28609999999998, 34.063840000000027],
112
+ [-117.28635999999995, 34.063920000000053],
113
+ [-117.28690999999998, 34.063950000000034],
114
+ [-117.28902999999997, 34.063960000000066],
115
+ [-117.28997999999996, 34.06397000000004],
116
+ [-117.29284999999999, 34.064280000000053],
117
+ [-117.29400999999996, 34.064400000000035],
118
+ [-117.29461999999995, 34.064360000000079],
119
+ [-117.29577999999998, 34.064000000000078],
120
+ [-117.29716999999999, 34.063020000000051],
121
+ [-117.29769999999996, 34.062340000000063],
122
+ [-117.29802999999998, 34.061620000000062],
123
+ [-117.29817999999995, 34.05985000000004],
124
+ [-117.29819999999995, 34.05869000000007],
125
+ [-117.29826999999995, 34.057830000000024],
126
+ [-117.29906999999997, 34.054990000000032],
127
+ [-117.29967999999997, 34.05406000000005],
128
+ [-117.30064999999996, 34.052860000000067],
129
+ [-117.30142999999998, 34.052090000000078],
130
+ [-117.30307999999997, 34.050830000000076],
131
+ [-117.30361999999997, 34.050460000000044],
132
+ [-117.30759999999998, 34.047680000000071],
133
+ [-117.30764999999997, 34.047640000000058],
134
+ [-117.30774999999994, 34.047570000000064],
135
+ [-117.31142999999997, 34.044980000000066],
136
+ [-117.31200999999999, 34.044580000000053],
137
+ [-117.31623999999999, 34.041590000000042],
138
+ [-117.31934999999999, 34.038910000000044],
139
+ [-117.31949999999995, 34.038780000000031],
140
+ [-117.32219999999995, 34.03639000000004],
141
+ [-117.32283999999999, 34.035820000000058],
142
+ [-117.32495999999998, 34.033950000000061],
143
+ [-117.32513999999998, 34.033790000000067],
144
+ [-117.32661999999999, 34.032480000000078],
145
+ [-117.32688999999999, 34.032240000000058],
146
+ [-117.32770999999997, 34.031500000000051],
147
+ [-117.32991999999996, 34.029550000000029],
148
+ [-117.33093999999994, 34.028650000000027],
149
+ [-117.33117999999996, 34.028440000000046],
150
+ [-117.33321999999998, 34.026550000000043],
151
+ [-117.33340999999996, 34.026360000000068],
152
+ [-117.33353999999997, 34.026210000000049],
153
+ [-117.33404999999999, 34.025640000000067],
154
+ [-117.33430999999996, 34.02535000000006],
155
+ [-117.33634999999998, 34.023090000000025],
156
+ [-117.33892999999995, 34.020270000000039],
157
+ [-117.33976999999999, 34.01932000000005],
158
+ [-117.33994999999999, 34.019110000000069],
159
+ [-117.34023999999999, 34.018760000000043],
160
+ [-117.34207999999995, 34.016270000000077],
161
+ [-117.34305999999998, 34.014790000000062],
162
+ [-117.34430999999995, 34.01293000000004],
163
+ [-117.34446999999994, 34.012690000000077],
164
+ [-117.34478999999999, 34.01222000000007],
165
+ [-117.34770999999995, 34.007840000000044],
166
+ [-117.35096999999996, 34.002970000000062],
167
+ [-117.35115999999999, 34.002680000000055],
168
+ [-117.35225999999994, 34.001050000000077],
169
+ [-117.35233999999997, 34.000920000000065],
170
+ [-117.35243999999994, 34.000770000000045],
171
+ [-117.35277999999994, 34.000260000000026],
172
+ [-117.35297999999995, 33.999960000000044],
173
+ [-117.35317999999995, 33.999670000000037],
174
+ [-117.35442999999998, 33.997870000000034],
175
+ [-117.35503999999997, 33.996900000000039],
176
+ [-117.35601999999994, 33.995460000000037],
177
+ [-117.35701999999998, 33.993950000000041],
178
+ [-117.35717999999997, 33.993710000000078],
179
+ [-117.35729999999995, 33.993570000000034],
180
+ [-117.35736999999995, 33.993450000000053],
181
+ [-117.35747999999995, 33.993310000000065],
182
+ [-117.35762999999997, 33.993080000000077],
183
+ [-117.35772999999995, 33.992930000000058],
184
+ [-117.35824999999994, 33.992190000000051],
185
+ [-117.35904999999997, 33.991000000000042],
186
+ [-117.35911999999996, 33.990900000000067],
187
+ [-117.35923999999994, 33.99076000000008],
188
+ [-117.36053999999996, 33.989610000000027],
189
+ [-117.36103999999995, 33.989320000000077],
190
+ [-117.36160999999998, 33.988990000000058],
191
+ [-117.36274999999995, 33.98825000000005],
192
+ [-117.36341999999996, 33.98771000000005],
193
+ [-117.36433999999997, 33.986650000000054],
194
+ [-117.36457999999999, 33.98631000000006],
195
+ [-117.36523999999997, 33.985300000000052],
196
+ [-117.36592999999999, 33.984320000000025],
197
+ [-117.36594999999994, 33.984290000000044],
198
+ [-117.36661999999995, 33.98335000000003],
199
+ [-117.36773999999997, 33.982160000000079],
200
+ [-117.36886999999996, 33.981190000000026],
201
+ [-117.36930999999998, 33.980830000000026],
202
+ [-117.36994999999996, 33.980230000000063],
203
+ [-117.37071999999995, 33.979450000000043],
204
+ [-117.37119999999999, 33.978740000000073],
205
+ [-117.37171999999998, 33.977460000000065],
206
+ [-117.37184999999994, 33.976960000000076],
207
+ [-117.37235999999996, 33.975450000000023],
208
+ [-117.37331999999998, 33.97389000000004],
209
+ [-117.37336999999997, 33.97380000000004],
210
+ [-117.37346999999994, 33.973640000000046],
211
+ [-117.37371999999999, 33.973250000000064],
212
+ [-117.37383999999997, 33.973060000000032],
213
+ [-117.37480999999997, 33.971540000000061],
214
+ [-117.37640999999996, 33.969110000000057],
215
+ [-117.37646999999998, 33.969010000000026],
216
+ [-117.37651999999997, 33.968930000000057],
217
+ [-117.37714999999997, 33.967610000000036],
218
+ [-117.37722999999994, 33.967370000000074],
219
+ [-117.37754999999999, 33.965570000000071],
220
+ [-117.37765999999999, 33.962950000000035],
221
+ [-117.37775999999997, 33.960820000000069],
222
+ [-117.37793999999997, 33.959910000000036],
223
+ [-117.37798999999995, 33.959730000000036],
224
+ [-117.37861999999996, 33.958350000000053],
225
+ [-117.37953999999996, 33.957190000000026],
226
+ [-117.38039999999995, 33.95646000000005],
227
+ [-117.38207999999997, 33.955210000000079],
228
+ [-117.38368999999994, 33.953890000000058],
229
+ [-117.38467999999995, 33.952680000000043],
230
+ [-117.38520999999997, 33.951750000000061],
231
+ [-117.38561999999996, 33.950810000000047],
232
+ [-117.38593999999995, 33.949900000000071],
233
+ [-117.38605999999999, 33.949590000000057],
234
+ [-117.38634999999999, 33.948960000000056],
235
+ [-117.38667999999996, 33.948390000000074],
236
+ [-117.38758999999999, 33.947370000000035],
237
+ [-117.38893999999999, 33.946280000000058],
238
+ [-117.39184999999998, 33.944200000000023],
239
+ [-117.39210999999995, 33.944010000000048],
240
+ [-117.39260999999999, 33.943660000000079],
241
+ [-117.39344999999997, 33.943050000000028],
242
+ [-117.39409999999998, 33.942580000000078],
243
+ [-117.39428999999996, 33.942440000000033],
244
+ [-117.39470999999998, 33.942120000000045],
245
+ [-117.39530999999994, 33.941690000000051],
246
+ [-117.39739999999995, 33.940220000000068],
247
+ [-117.39851999999996, 33.939550000000054],
248
+ [-117.40153999999995, 33.937840000000051],
249
+ [-117.40243999999996, 33.937340000000063],
250
+ [-117.40623999999997, 33.935170000000028],
251
+ [-117.40831999999995, 33.933990000000051],
252
+ [-117.40972999999997, 33.933200000000056],
253
+ [-117.41236999999995, 33.931710000000066],
254
+ [-117.41415999999998, 33.930690000000027],
255
+ [-117.41550999999998, 33.929910000000064],
256
+ [-117.41587999999996, 33.929700000000025],
257
+ [-117.41642999999999, 33.929380000000037],
258
+ [-117.41742999999997, 33.928810000000055],
259
+ [-117.41962999999998, 33.927550000000053],
260
+ [-117.41977999999995, 33.927460000000053],
261
+ [-117.41994999999997, 33.927360000000078],
262
+ [-117.42102999999997, 33.926760000000058],
263
+ [-117.42292999999995, 33.925690000000031],
264
+ [-117.42376999999999, 33.925230000000056],
265
+ [-117.42469999999997, 33.92470000000003],
266
+ [-117.42724999999996, 33.923250000000053],
267
+ [-117.42842999999999, 33.922580000000039],
268
+ [-117.42990999999995, 33.921740000000057],
269
+ [-117.43141999999995, 33.920880000000068],
270
+ [-117.43199999999996, 33.920550000000048],
271
+ [-117.43460999999996, 33.919050000000027],
272
+ [-117.43574999999998, 33.918410000000051],
273
+ [-117.43596999999994, 33.91829000000007],
274
+ [-117.43781999999999, 33.917240000000049],
275
+ [-117.43827999999996, 33.916970000000049],
276
+ [-117.43883999999997, 33.916640000000029],
277
+ [-117.43974999999995, 33.916140000000041],
278
+ [-117.44045999999997, 33.915740000000028],
279
+ [-117.44168999999999, 33.91506000000004],
280
+ [-117.44183999999996, 33.914970000000039],
281
+ [-117.44203999999996, 33.914850000000058],
282
+ [-117.44223999999997, 33.914740000000052],
283
+ [-117.44343999999995, 33.914060000000063],
284
+ [-117.44642999999996, 33.91235000000006],
285
+ [-117.44685999999996, 33.912110000000041],
286
+ [-117.44717999999995, 33.911920000000066],
287
+ [-117.44775999999996, 33.911590000000047],
288
+ [-117.44821999999999, 33.911330000000078],
289
+ [-117.44995999999998, 33.910340000000076],
290
+ [-117.45235999999994, 33.908980000000042],
291
+ [-117.45253999999994, 33.908870000000036],
292
+ [-117.45412999999996, 33.907950000000028],
293
+ [-117.45687999999996, 33.906390000000044],
294
+ [-117.45997999999997, 33.904620000000079],
295
+ [-117.46092999999996, 33.904090000000053],
296
+ [-117.46192999999994, 33.903590000000065],
297
+ [-117.46753999999999, 33.901560000000075],
298
+ [-117.46821999999997, 33.901370000000043],
299
+ [-117.47132999999997, 33.900750000000073],
300
+ [-117.47327999999999, 33.900190000000066],
301
+ [-117.47348999999997, 33.900120000000072],
302
+ [-117.47366999999997, 33.900050000000078],
303
+ [-117.47802999999999, 33.897890000000075],
304
+ [-117.47982999999999, 33.897290000000055],
305
+ [-117.48215999999996, 33.896860000000061],
306
+ [-117.48444999999998, 33.896790000000067],
307
+ [-117.49040999999994, 33.897510000000068],
308
+ [-117.49086999999997, 33.897520000000043],
309
+ [-117.49297999999999, 33.897400000000061],
310
+ [-117.49506999999994, 33.896970000000067],
311
+ [-117.49710999999996, 33.896240000000034],
312
+ [-117.49747999999994, 33.896070000000066],
313
+ [-117.50132999999994, 33.894250000000056],
314
+ [-117.50170999999995, 33.894060000000025],
315
+ [-117.50322999999997, 33.893340000000023],
316
+ [-117.50498999999996, 33.892510000000073],
317
+ [-117.51138999999995, 33.889480000000049],
318
+ [-117.51237999999995, 33.889010000000042],
319
+ [-117.51493999999997, 33.887800000000027],
320
+ [-117.51859999999999, 33.886060000000043],
321
+ [-117.51997999999998, 33.885450000000048],
322
+ [-117.52109999999999, 33.885020000000054],
323
+ [-117.52172999999999, 33.884820000000047],
324
+ [-117.52320999999995, 33.884450000000072],
325
+ [-117.52506999999997, 33.884160000000065],
326
+ [-117.52789999999999, 33.88399000000004],
327
+ [-117.53186999999997, 33.883780000000058],
328
+ [-117.53461999999996, 33.883640000000071],
329
+ [-117.53687999999994, 33.883530000000064],
330
+ [-117.53791999999999, 33.883460000000071],
331
+ [-117.53836999999999, 33.883440000000064],
332
+ [-117.53906999999998, 33.883410000000026],
333
+ [-117.54175999999995, 33.88319000000007],
334
+ [-117.54266999999999, 33.883060000000057],
335
+ [-117.54749999999996, 33.881890000000055],
336
+ [-117.54772999999994, 33.881820000000062],
337
+ [-117.54816999999997, 33.881690000000049],
338
+ [-117.55019999999996, 33.881130000000041],
339
+ [-117.55195999999995, 33.880620000000079],
340
+ [-117.55437999999998, 33.879930000000058],
341
+ [-117.55651999999998, 33.879500000000064],
342
+ [-117.55801999999994, 33.879460000000051],
343
+ [-117.56074999999998, 33.879720000000077],
344
+ [-117.56118999999995, 33.879770000000065],
345
+ [-117.56156999999996, 33.879820000000052],
346
+ [-117.56265999999999, 33.879950000000065],
347
+ [-117.56515999999999, 33.880220000000065],
348
+ [-117.56548999999995, 33.880260000000078],
349
+ [-117.56670999999994, 33.880420000000072],
350
+ [-117.56769999999995, 33.880520000000047],
351
+ [-117.56813999999997, 33.880570000000034],
352
+ [-117.56971999999996, 33.880730000000028],
353
+ [-117.57045999999997, 33.880810000000054],
354
+ [-117.57281999999998, 33.881060000000048],
355
+ [-117.57406999999995, 33.881180000000029],
356
+ [-117.57542999999998, 33.881320000000073],
357
+ [-117.57690999999994, 33.881470000000036],
358
+ [-117.58110999999997, 33.88190000000003],
359
+ [-117.58303999999998, 33.882120000000043],
360
+ [-117.58614999999998, 33.882460000000037],
361
+ [-117.58851999999996, 33.882600000000025],
362
+ [-117.59112999999996, 33.882390000000044],
363
+ [-117.59757999999999, 33.881330000000048],
364
+ [-117.60122999999999, 33.880730000000028],
365
+ [-117.60330999999996, 33.880390000000034],
366
+ [-117.60553999999996, 33.88014000000004],
367
+ [-117.60735999999997, 33.880180000000053],
368
+ [-117.60810999999995, 33.880260000000078],
369
+ [-117.61040999999994, 33.88056000000006],
370
+ [-117.61163999999997, 33.880710000000079],
371
+ [-117.61360999999999, 33.880980000000079],
372
+ [-117.61754999999999, 33.881480000000067],
373
+ [-117.62229999999994, 33.882190000000037],
374
+ [-117.62585999999999, 33.883350000000064],
375
+ [-117.62688999999995, 33.883700000000033],
376
+ [-117.62828999999999, 33.884200000000078],
377
+ [-117.62912999999998, 33.884460000000047],
378
+ [-117.63085999999998, 33.884850000000029],
379
+ [-117.63304999999997, 33.885050000000035],
380
+ [-117.63527999999997, 33.884940000000029],
381
+ [-117.63673999999997, 33.884710000000041],
382
+ [-117.63940999999994, 33.884040000000027],
383
+ [-117.64182999999997, 33.883440000000064],
384
+ [-117.64490999999998, 33.882660000000044],
385
+ [-117.64768999999995, 33.881980000000055],
386
+ [-117.65240999999997, 33.880840000000035],
387
+ [-117.65430999999995, 33.880350000000078],
388
+ [-117.65477999999996, 33.880200000000059],
389
+ [-117.65513999999996, 33.880070000000046],
390
+ [-117.65552999999994, 33.879920000000027],
391
+ [-117.65635999999995, 33.879550000000052],
392
+ [-117.65846999999997, 33.878310000000056],
393
+ [-117.66055999999998, 33.876540000000034],
394
+ [-117.66214999999994, 33.875150000000076],
395
+ [-117.66507999999999, 33.87262000000004],
396
+ [-117.66647999999998, 33.871770000000026],
397
+ [-117.67194999999998, 33.869820000000061],
398
+ [-117.67486999999994, 33.869150000000047],
399
+ [-117.67647999999997, 33.869040000000041],
400
+ [-117.67738999999995, 33.869060000000047],
401
+ [-117.67921999999999, 33.869250000000079],
402
+ [-117.68139999999994, 33.869840000000067],
403
+ [-117.68209999999999, 33.870110000000068],
404
+ [-117.68292999999994, 33.870470000000068],
405
+ [-117.68356999999997, 33.870760000000075],
406
+ [-117.68514999999996, 33.87146000000007],
407
+ [-117.68554999999998, 33.87164000000007],
408
+ [-117.68632999999994, 33.872000000000071],
409
+ [-117.68687999999997, 33.872250000000065],
410
+ [-117.68943999999999, 33.873370000000079],
411
+ [-117.69172999999995, 33.873980000000074],
412
+ [-117.69412999999997, 33.874120000000062],
413
+ [-117.69563999999997, 33.873960000000068],
414
+ [-117.69634999999994, 33.873820000000023],
415
+ [-117.69780999999995, 33.873370000000079],
416
+ [-117.69929999999999, 33.872700000000066],
417
+ [-117.70106999999996, 33.871890000000064],
418
+ [-117.70233999999999, 33.871310000000051],
419
+ [-117.70333999999997, 33.870840000000044],
420
+ [-117.71164999999996, 33.867050000000063],
421
+ [-117.71250999999995, 33.866800000000069],
422
+ [-117.71368999999999, 33.866570000000024],
423
+ [-117.71571999999998, 33.866490000000056],
424
+ [-117.71655999999996, 33.86656000000005],
425
+ [-117.72056999999995, 33.866940000000056],
426
+ [-117.72281999999996, 33.867180000000076],
427
+ [-117.72491999999994, 33.867450000000076],
428
+ [-117.72723999999994, 33.868160000000046],
429
+ [-117.72797999999995, 33.868430000000046],
430
+ [-117.73029999999994, 33.869260000000054],
431
+ [-117.73077999999998, 33.869430000000079],
432
+ [-117.73135999999994, 33.869630000000029],
433
+ [-117.73324999999994, 33.870300000000043],
434
+ [-117.73365999999999, 33.870450000000062],
435
+ [-117.73656999999997, 33.871240000000057],
436
+ [-117.73812999999996, 33.871420000000057],
437
+ [-117.74002999999999, 33.871450000000038],
438
+ [-117.74405999999999, 33.87086000000005],
439
+ [-117.74471999999997, 33.870750000000044],
440
+ [-117.74619999999999, 33.870490000000075],
441
+ [-117.74967999999996, 33.869890000000055],
442
+ [-117.75117999999998, 33.869650000000036],
443
+ [-117.75834999999995, 33.86910000000006],
444
+ [-117.76099999999997, 33.86841000000004],
445
+ [-117.78062999999997, 33.858940000000075],
446
+ [-117.78211999999996, 33.858220000000074],
447
+ [-117.78507999999999, 33.85677000000004],
448
+ [-117.78729999999996, 33.855690000000038],
449
+ [-117.78889999999996, 33.855000000000075],
450
+ [-117.79047999999995, 33.85459000000003],
451
+ [-117.79100999999997, 33.85450000000003],
452
+ [-117.79254999999995, 33.854390000000024],
453
+ [-117.79293999999999, 33.854390000000024],
454
+ [-117.79322999999999, 33.854390000000024],
455
+ [-117.79728999999998, 33.854470000000049],
456
+ [-117.79861999999997, 33.854490000000055],
457
+ [-117.80620999999996, 33.854630000000043],
458
+ [-117.80903999999998, 33.85421000000008],
459
+ [-117.81043999999997, 33.853730000000041],
460
+ [-117.81184999999999, 33.853040000000078],
461
+ [-117.81322999999998, 33.852100000000064],
462
+ [-117.81364999999994, 33.851750000000038],
463
+ [-117.81448999999998, 33.851000000000056],
464
+ [-117.81558999999999, 33.850070000000073],
465
+ [-117.81686999999999, 33.84898000000004],
466
+ [-117.81714999999997, 33.848740000000078],
467
+ [-117.81732999999997, 33.848580000000027],
468
+ [-117.81774999999999, 33.848240000000033],
469
+ [-117.81898999999999, 33.84740000000005],
470
+ [-117.82149999999996, 33.846250000000055],
471
+ [-117.82254999999998, 33.845800000000054],
472
+ [-117.82492999999994, 33.845090000000027],
473
+ [-117.82653999999997, 33.844610000000046],
474
+ [-117.82722999999999, 33.844540000000052],
475
+ [-117.82836999999995, 33.844710000000077],
476
+ [-117.82989999999995, 33.845650000000035],
477
+ [-117.83081999999996, 33.846370000000036],
478
+ [-117.83126999999996, 33.846720000000062],
479
+ [-117.83170999999999, 33.847110000000043],
480
+ [-117.83251999999999, 33.847680000000025],
481
+ [-117.83330999999998, 33.848300000000052],
482
+ [-117.83371999999997, 33.848620000000039],
483
+ [-117.83423999999997, 33.849010000000078],
484
+ [-117.83452999999997, 33.849230000000034],
485
+ [-117.83520999999996, 33.849750000000029],
486
+ [-117.83559999999994, 33.850040000000035],
487
+ [-117.83606999999995, 33.850310000000036],
488
+ [-117.83747999999997, 33.851060000000075],
489
+ [-117.83796999999998, 33.851230000000044],
490
+ [-117.83944999999994, 33.851530000000025],
491
+ [-117.84150999999997, 33.851480000000038],
492
+ [-117.84166999999997, 33.851450000000057],
493
+ [-117.84369999999996, 33.850990000000024],
494
+ [-117.84799999999996, 33.849900000000048],
495
+ [-117.84880999999996, 33.849700000000041],
496
+ [-117.85236999999995, 33.84880000000004],
497
+ [-117.85538999999994, 33.848050000000057],
498
+ [-117.85554999999999, 33.848010000000045],
499
+ [-117.85569999999996, 33.847970000000032],
500
+ [-117.85625999999996, 33.847840000000076],
501
+ [-117.85665999999998, 33.847740000000044],
502
+ [-117.85866999999996, 33.847230000000025],
503
+ [-117.85919999999999, 33.847090000000037],
504
+ [-117.85960999999998, 33.846990000000062],
505
+ [-117.86203999999998, 33.846560000000068],
506
+ [-117.86351999999999, 33.846460000000036],
507
+ [-117.86451999999997, 33.84642000000008],
508
+ [-117.86743999999999, 33.846700000000055],
509
+ [-117.86873999999995, 33.846960000000024],
510
+ [-117.87043999999997, 33.847660000000076],
511
+ [-117.87061999999997, 33.84773000000007],
512
+ [-117.87080999999995, 33.847800000000063],
513
+ [-117.87127999999996, 33.848040000000026],
514
+ [-117.87290999999999, 33.849060000000065],
515
+ [-117.87352999999996, 33.849430000000041],
516
+ [-117.87477999999999, 33.849640000000079],
517
+ [-117.87554999999998, 33.849410000000034],
518
+ [-117.87616999999995, 33.84889000000004],
519
+ [-117.87647999999996, 33.848030000000051],
520
+ [-117.87621999999999, 33.845510000000047],
521
+ [-117.87617999999998, 33.845270000000028],
522
+ [-117.87619999999998, 33.84486000000004],
523
+ [-117.87618999999995, 33.84415000000007],
524
+ [-117.87618999999995, 33.843690000000038],
525
+ [-117.87618999999995, 33.843590000000063],
526
+ [-117.87619999999998, 33.840230000000076],
527
+ [-117.87619999999998, 33.838300000000061],
528
+ [-117.87619999999998, 33.83785000000006],
529
+ [-117.87621999999999, 33.834210000000041],
530
+ [-117.87623999999994, 33.83113000000003],
531
+ [-117.87624999999997, 33.83015000000006],
532
+ [-117.87626999999998, 33.827750000000037],
533
+ [-117.87627999999995, 33.82570000000004],
534
+ [-117.87626999999998, 33.820760000000064],
535
+ [-117.87631999999996, 33.818870000000061],
536
+ [-117.87641999999994, 33.818100000000072],
537
+ [-117.87672999999995, 33.816490000000044],
538
+ [-117.87729999999999, 33.814640000000054],
539
+ [-117.87916999999999, 33.810010000000034],
540
+ [-117.87947999999994, 33.809270000000026],
541
+ [-117.88034999999996, 33.807890000000043],
542
+ [-117.88061999999996, 33.807620000000043],
543
+ [-117.88171999999997, 33.806970000000035],
544
+ [-117.88174999999995, 33.806080000000065],
545
+ [-117.88210999999995, 33.806050000000027],
546
+ [-117.88247999999999, 33.805980000000034],
547
+ [-117.88341999999994, 33.805630000000065],
548
+ [-117.88379999999995, 33.805360000000064],
549
+ [-117.88401999999996, 33.805210000000045],
550
+ [-117.88486999999998, 33.804610000000025],
551
+ [-117.88501999999994, 33.80451000000005],
552
+ [-117.88518999999997, 33.804410000000075],
553
+ [-117.88608999999997, 33.803870000000074],
554
+ [-117.88671999999997, 33.803600000000074],
555
+ [-117.88686999999999, 33.80355000000003],
556
+ [-117.88787999999994, 33.803430000000048],
557
+ [-117.88817999999998, 33.803430000000048],
558
+ [-117.89002999999997, 33.803420000000074],
559
+ [-117.89043999999996, 33.803420000000074],
560
+ [-117.89129999999994, 33.803430000000048],
561
+ [-117.89250999999996, 33.803430000000048],
562
+ [-117.89283999999998, 33.803430000000048],
563
+ [-117.89356999999995, 33.80346000000003],
564
+ [-117.89406999999994, 33.803450000000055],
565
+ [-117.89430999999996, 33.803450000000055],
566
+ [-117.89464999999996, 33.803450000000055],
567
+ [-117.89541999999994, 33.803450000000055],
568
+ [-117.89684999999997, 33.803430000000048],
569
+ [-117.89695999999998, 33.803430000000048],
570
+ [-117.89811999999995, 33.803420000000074],
571
+ [-117.89922999999999, 33.803420000000074],
572
+ [-117.89961999999997, 33.803420000000074],
573
+ [-117.89988999999997, 33.803420000000074],
574
+ [-117.90028999999998, 33.803420000000074],
575
+ [-117.90091999999999, 33.803420000000074],
576
+ [-117.90138999999999, 33.803410000000042],
577
+ [-117.90205999999995, 33.80406000000005],
578
+ [-117.90408999999994, 33.805560000000071],
579
+ [-117.90559999999999, 33.806460000000072],
580
+ [-117.90608999999995, 33.806850000000054],
581
+ [-117.90823999999998, 33.808840000000032],
582
+ [-117.90892999999994, 33.809510000000046],
583
+ [-117.90987999999999, 33.810430000000053],
584
+ [-117.91246999999998, 33.812960000000032],
585
+ [-117.91304999999994, 33.813660000000027],
586
+ [-117.91390999999999, 33.814610000000073],
587
+ [-117.91421999999994, 33.815300000000036],
588
+ [-117.91423999999995, 33.816080000000056],
589
+ [-117.91467999999998, 33.816430000000025],
590
+ [-117.91529999999995, 33.816340000000025],
591
+ [-117.91548999999998, 33.816340000000025],
592
+ [-117.91546999999997, 33.815520000000049],
593
+ [-117.91543999999999, 33.814960000000042],
594
+ [-117.91542999999996, 33.814590000000067],
595
+ [-117.91542999999996, 33.814450000000079],
596
+ [-117.91541999999998, 33.814230000000066],
597
+ [-117.91541999999998, 33.81388000000004],
598
+ [-117.91540999999995, 33.813130000000058],
599
+ [-117.91540999999995, 33.812690000000032],
600
+ [-117.91540999999995, 33.812580000000025],
601
+ [-117.91540092099996, 33.812171446000036]
602
+ ]
603
+ ]
604
+ }
605
+ }
606
+ ]
607
+ },
608
+ directions: [
609
+ {
610
+ routeId: 1,
611
+ routeName: "Location 1 - Location 2",
612
+ summary: {
613
+ totalLength: 52.806413242718051,
614
+ totalTime: 73.070791267091408,
615
+ totalDriveTime: 73.070791262950962,
616
+ envelope: {
617
+ xmin: -117.91897599999999,
618
+ ymin: 33.803410000000042,
619
+ xmax: -117.19567699999999,
620
+ ymax: 34.067360000000065,
621
+ spatialReference: {
622
+ wkid: 4326,
623
+ latestWkid: 4326
624
+ }
625
+ }
626
+ },
627
+ features: [
628
+ {
629
+ attributes: {
630
+ length: 0,
631
+ time: 0,
632
+ text: "Start at Location 1",
633
+ ETA: -2209161600000,
634
+ arriveTimeUTC: -2209161600000,
635
+ maneuverType: "esriDMTDepart"
636
+ },
637
+ compressedGeometry: "+hf6e7-1vvvvtn+ij4dus+0+0"
638
+ },
639
+ {
640
+ attributes: {
641
+ length: 0.2157514114693693,
642
+ time: 1.2587782700000001,
643
+ text: "Go north on New York St toward Orange Blossom Trl",
644
+ ETA: -2209161600000,
645
+ arriveTimeUTC: -2209161600000,
646
+ maneuverType: "esriDMTStraight"
647
+ },
648
+ compressedGeometry:
649
+ "+hf6e4-1vvvvio+ij4drm-5n+15o7+0+2g5-5n+8ua+5n+4f5+0+2ae"
650
+ },
651
+ {
652
+ attributes: {
653
+ length: 0.78848958265205349,
654
+ time: 1.9105030396215881,
655
+ text: "Turn left on W Redlands Blvd",
656
+ ETA: -2209161600000,
657
+ arriveTimeUTC: -2209161600000,
658
+ maneuverType: "esriDMTTurnLeft"
659
+ },
660
+ compressedGeometry:
661
+ "+hf4e7-1vvolmu+ij41rb-1ct4+cs8-8u9+2g5-b8m+372-dj5+3o8-22ht+ijf-anh+31a-4f5+183-68d+1p8-geo+4qj-ts5+6e4-50a+h5-5n7+bf-ac3-12b"
662
+ },
663
+ {
664
+ attributes: {
665
+ length: 0.30954688155940668,
666
+ time: 1.3072604599999986,
667
+ text: "Make sharp right on Alabama St",
668
+ ETA: -2209161600000,
669
+ arriveTimeUTC: -2209161600000,
670
+ maneuverType: "esriDMTSharpRight"
671
+ },
672
+ compressedGeometry:
673
+ "+hf4e7-1vvvvtn+ij5s06+be+7m6+5o+3o8+0+7gf+5n+4qj+0+3tu+0+5sv+5n+750+0+751+5n+8u9+0+3cp-5n+49d+5n+7ao+0+2g5+0+5sv"
674
+ },
675
+ {
676
+ attributes: {
677
+ length: 4.4650344169950102,
678
+ time: 4.6317250099730805,
679
+ text: "Turn left onto ramp and go on I-10 W toward Los Angeles",
680
+ ETA: -2209161600000,
681
+ arriveTimeUTC: -2209161600000,
682
+ maneuverType: "esriDMTTurnLeft"
683
+ },
684
+ compressedGeometry:
685
+ "+heoks-1vukonc+iirqjr-1efm-5hc-1ptr-55u-62i+0-3o5+0-cgh+0-hme+0-8u3+0-vko+0-8cu+0-7m1+0-2jrh-be-lq2-5n-ana+0-4fcs+0-dis+0-143q+0-3bq8+0-688+0-6pe-5n-4323-1p7-idb-24l-trh-689-688-1do-877-1p7-3g99-oft-1spe-8ik-1n2a-370-bjt-5n-iop+0-fnh-5n-877+0-1p18+h5-1g35+5bl-oa5+2ac-fhq+5n-1b8m-370-1olq-4f1-7m1-h5-mml-1jg"
686
+ },
687
+ {
688
+ attributes: {
689
+ length: 0.22364848069693544,
690
+ time: 0.25424163999999982,
691
+ text:
692
+ "Bear right onto ramp to I-215 S / Riverside / I-215 N toward San Bernardino / Barstow",
693
+ ETA: -2209161600000,
694
+ arriveTimeUTC: -2209161600000,
695
+ maneuverType: "esriDMTRampRight"
696
+ },
697
+ compressedGeometry:
698
+ "+heo1u-1vvtqi6+iip7gm-4ko+1dp-9qm+h5-15t0+5n-gvi+5n"
699
+ },
700
+ {
701
+ attributes: {
702
+ length: 5.9818773759825552,
703
+ time: 7.4762264899999931,
704
+ text: "At fork keep left on I-215 S / Riverside",
705
+ ETA: -2209161600000,
706
+ arriveTimeUTC: -2209161600000,
707
+ maneuverType: "esriDMTForkLeft"
708
+ },
709
+ compressedGeometry:
710
+ "+heedq-1vusmi6+iif1r4-1j97+5h8-knc+24k-asq-ms-knb-6dr-oqt-hge-9f2-c4r-5sn-cro-2lp-vk6-be-knb-181-fbp-e9f-1io2-asr-gjr-ham-le7-du2-doa-tfi-mgh-9kp-6jj-273v-1hlo-sj-ms-1p6-181-21oe-1e93-abl-74o-2biv-1ldr-1nie-1fsi-2lp-2ab-1g81-1amo-bdv-a5u-15sb-11dc-36u-2rg-qeb-nd4-4qc-498-eku-d75-17fp-12r4-i7a-g2l-497-3o3-14ej-11oq-3cl-3cl-2ab-2lp-93l-a5u-4kl-55r-14ej-18cd-1e3c-1ick-f0c-gv8-36u-3o3-55q-685-10s7-1cft-hgd-qeb-mar-117l-2rf-498-5n0-8co-1k5q-2e8n-1q88-2n0u-3cl-55r-jl1-t44-1do-2ab-1p6-2lp-62e-93k-3ic-5bi-3ic-55r"
711
+ },
712
+ {
713
+ attributes: {
714
+ length: 34.565457278532051,
715
+ time: 44.839702029999977,
716
+ text: "Go on CA-91 W (Riverside Fwy)",
717
+ ETA: -2209161600000,
718
+ arriveTimeUTC: -2209161600000,
719
+ maneuverType: "esriDMTStraight"
720
+ },
721
+ compressedGeometry:
722
+ "+hc08g-1vn1auc+ieo354-m7m-100r-ara-h89-hdv-pjs-hpb-qrn-2r3-48k-24b-2fn-17r-24a-1uk-2fn-2ld-42u-1ou-2ld-982-d5b-e7f-l5h-17s-1ot-24a-2fn-n45-keo-8sm-554-a4h-5rs-k92-d5b-btf-9je-gbp-irg-48l-61j-bnp-hv1-c8r-hdv-bd-h3-bte-gn6-jtm-l5h-k3c-h89-7qg-6cv-bcd-alj-dmc-ds3-8ha-ck8-982-mop-2a0-8sl-92c-qrn-h2j-ro6-sf-1j8-1ou-2r3-4ea-6u2-24b-3c5-h88-r1e-sev-1b7h-125-1ot-sf-1di-b6m-nfh-1di-48l-5m6-100r-1uk-1ejm-1ou-15sn-36g-g64-sf-36f-b6m-ohn-gbq-kke-f9k-cvk-tsh-m7n-skl-nfh-hjl-lgt-9do-ghg-79e-gn6-5m6-g64-24a-5gg-554-b6m-5rs-a4h-g64-i4o-o0k-jcj-1joq-1508-4k1-3c5-8sm-679-eu8-ara-bi2-8bj-3c6-2fn-7f4-5m6-alk-7kq-155u-q4v-jtl-bte-1lnf-udj-g0d-8sm-23jh-16jg-1508-kvr-p2q-e1p-1ev2-qgb-vr5-i4n-o0k-ds3-6il-3ni-9p5-5m7-hpb-a4h-174i-mdc-2ld-1j8-30q-1ot-j6s-alk-11pp-j17-eu8-85t-ghg-9do-1dbr-ppi-kvr-btf-qal-eu8-qrn-f9k-aa7-5rt-1ee0-qm1-k92-bcc-3t9-24a-10t9-ilr-85t-4pn-9ur-5rs-g63-8sm-ck8-73o-lsa-c35-2ld-1j7-3hs-24b-3hr-1uk-lb8-c35-1l6b-udj-7kq-48l-5m7-3c5-aa7-5rt-85t-4k1-uul-hjl-1amf-o6a-36f-1uk-s99-gbq-1gtn-ro6-1n4v-vfo-gst-9do-hpb-8sm-33q2-143p-c35-3c6-1nam-b10-12m8-9uq-3ni-17s-36f-17r-2dic-16dq-100r-alj-19ej-7kr-18nq-17r-3a1b+cpu-85t+5m-15hb-24a-155u-7kq-149f-cvk-6il-30q-24g1-10c7-6ob-3c6-r1d-cpt-va2-eoi-3hrs-1lt5-hjl-8bj-1dhh-lgt-213r-uum-ohm-ara-jtm-7kq-b6m-3hs-qak-6il-1130-553-1ib9-30q-26ka-3ni-1gtn-2fm-186o-1ul-ig4-17r-807-bc-ceh-h3-1fri-3t8-g64-2a1-2ltv-kq4-42u-17s-7qh-2a0-143p-9ur-va2-92c-1b1q-c8r-162e-7kq-qm1-mp-1gia+4k1-7qh+sf-6ob+sf-jcj+2a0-1cfc+4po-5rt+mo-lmj+2r3-hjl+1ou-7qh+sf-s3i+2r3-d5a+1di-19vm+4eb-m7m+24a-o6a+2fn-qal+2ld-2an9+7kq-12ar+3t8-1nam+61j-1a5c+2fn-1ee0-3nj-3ioa-irg-20u5-alk-1508-61i-17ll-4eb-10c7+mp-db0+1dh-18th+5aq-ls9+2ld-131k+4pn-2638+8sm-2kge+ck8-1vat+kke-iad+679-ot3+8sl-eu9+4k1-uov+6u2-16us+3hs-17ll-1uk-pv8-42v-1fg6-btf-1b1q-alj-1mpk-ds3-1hep-c35-2jvb-k92-11pp-8n0-8bj-2ld-6cv-2a0-6u2-2ld-eoi-6il-15ha-m20-155v-vfo-s98-ond-1k47-1d0f-ot3-f3u-31ab-12m8-1jug-btf-skm-1uk-g63+bc-10ht+3c6-16p6+afu-cei+4pn-eoi+6cv-bcc+553-s3j+cei-73n+36f-ds3+6cv-9p5+4eb-1dhh+jtm-18nr+ar9-1ame+2fn-qrn-2r3-ck8-2fn-pv8-806-qgb-btf-vfo-ed6-mj2-aa7-hpb-8bj-4jrb-23dr-f9k-4eb-kvr-42v-143p-1dh-eu8+17r-27b4+6oc-1811+48k-15bk+4pn-198t+ck8-d5a+4pn-198t+eoi-8h9+30q-aa8+3hr-11k2+btf-79e+2ld-1joq+e1q-ro6+36f-11pp+h3-27mf-afu-bnp-1uk-qal-4k1-1ttb-alk-qm1-48k-3vi8-9p5-1f4p-c8r-at8d-58fp-qga-cpu-1kl9-pph-17fv-j6t-sev-c8s-s3i-79e-9dp-1j7-rcp-1uk-6u2+0-553+0-287j+1dh-nl7+bd-471d+2fm-1ib8-7f4-ot3-8h9-p2p-c8r-ohn-gn7-7f4-678-eu8-db1-jia-ghg-moo-jcj-4ve-48k-36f-2r3-7f4-61j-m20-eu8-1cl3-keo-ilq-807-1ab2-ck8-skl-8h9-c8r-17r-k92+30p-r73+gn6-gbq+cpu-807+679-7qg+6u1-ed6+a4h-e1p+b10-79e+5m6-982+6u2-554+3t8-c35+982-6u1+554-8bj+4pn-p2q+db0-8mv+30q-qal+5ap-14kr-se-2r3-h3-143q-85t-2cg6-jcj-ed6-3hs-1vat-g0d-1lne-db1-2r3-mo-2ld-mp-9ur-2a1-73n-1ou-13od-92b-9do-2fn-79e-1ou-1b7h-7kq-qal-1ou-hpb-mp-1jug+4vd-n45+4k1"
723
+ },
724
+ {
725
+ attributes: {
726
+ length: 0.16419987519651613,
727
+ time: 0.23724612000000889,
728
+ text:
729
+ "At exit 31 take ramp on the right to CA-57 S / CA-57 N toward Santa Ana / Pomona",
730
+ ETA: -2209161600000,
731
+ arriveTimeUTC: -2209161600000,
732
+ maneuverType: "esriDMTRampRight"
733
+ },
734
+ compressedGeometry:
735
+ "+hbvs7-1vvuim6+ic2p3k-u7s+ceh-36f+17r-3c6+17r-8bj+48l"
736
+ },
737
+ {
738
+ attributes: {
739
+ length: 3.0964534670953299,
740
+ time: 3.9426711347881112,
741
+ text: "At fork keep left on CA-57 S toward Santa Ana",
742
+ ETA: -2209161600000,
743
+ arriveTimeUTC: -2209161600000,
744
+ maneuverType: "esriDMTForkLeft"
745
+ },
746
+ compressedGeometry:
747
+ "+hbukk-1vvre1b+ic22ea-svv+i4m-b0v+6il-m7k+3ni-dmb-42u-b0v-982-5gg-f9j+4k1-1cqk+mp-48k-bd-79e+5n-ck6+0-85s+0-1ou-5n-1ror+0-12ao+0-806-bc-20o8-bc-1mpe-5n-hdu-bc-1ama-5m-14f2+5m-2nsb-sf-11k0-1ou-dmb-5gf-ski-a4g-10t7-118j-2ibs-5gf-d59"
748
+ },
749
+ {
750
+ attributes: {
751
+ length: 0.27235541468188984,
752
+ time: 0.64907230999999688,
753
+ text:
754
+ "At exit 2 take ramp on the right to Katella Ave toward Disneyland / Honda Center / Convention Center",
755
+ ETA: -2209161600000,
756
+ arriveTimeUTC: -2209161600000,
757
+ maneuverType: "esriDMTRampRight"
758
+ },
759
+ compressedGeometry:
760
+ "+hbu9l-1vvungk+ibc53m-ff9-ohk-4pm-4pm-ji7-bi1-h3-fqm"
761
+ },
762
+ {
763
+ attributes: {
764
+ length: 1.184616530560433,
765
+ time: 3.5148180338829205,
766
+ text: "Turn right on E Katella Ave",
767
+ ETA: -2209161600000,
768
+ arriveTimeUTC: -2209161600000,
769
+ maneuverType: "esriDMTTurnRight"
770
+ },
771
+ compressedGeometry:
772
+ "+hbrar-1vvl2k8+ib786e-6ct-h3-6ij-17r-gn1-677-6oa-4pm-3t7-2lc-f3q-alg-2lc-1ou-30p-1ot-g08-9jc-b6j-4pm-2ld-se-hus-24a-5ao+0-10t1-5m-79b+0-f9h+5m-lgn+0-5rr+0-cvg+h2-8sj-5m-48k+0-61g+0-dm9+0-pdv-bc-1uj+0-kk9-5m-jnq+0-6tv+0-4pm+0-73m+0-b6j+0-8bg-5m"
773
+ },
774
+ {
775
+ attributes: {
776
+ length: 0.91999285566369338,
777
+ time: 1.2575965218261596,
778
+ text: "Turn right onto ramp and go on I-5 N toward Los Angeles",
779
+ ETA: -2209161600000,
780
+ arriveTimeUTC: -2209161600000,
781
+ maneuverType: "esriDMTTurnRight"
782
+ },
783
+ compressedGeometry:
784
+ "+hbplb-1vvpqrg+ib4066-bta+bhu-143c+qln-qrd+g07-8ms+6tv-167l+13cj-c8n+bta-gsl+gbk-1e23+1cvu"
785
+ },
786
+ {
787
+ attributes: {
788
+ length: 0.33157335003384958,
789
+ time: 0.81261686999999561,
790
+ text:
791
+ "At exit 110 take ramp on the right to Harbor Blvd toward Ball Rd / Anaheim / HOSPITAL",
792
+ ETA: -2209161600000,
793
+ arriveTimeUTC: -2209161600000,
794
+ maneuverType: "esriDMTRampRight"
795
+ },
796
+ compressedGeometry:
797
+ "+hbp6p-1vvua8g+ib8ql3-aa3+cec-f9e+gsm-5ge+c8m-bc+drt-7qd+677-b0s-1j7-3c4+0"
798
+ },
799
+ {
800
+ attributes: {
801
+ length: 0.28741632159895403,
802
+ time: 0.97833333285913493,
803
+ text: "Turn left on S Harbor Blvd",
804
+ ETA: -2209161600000,
805
+ arriveTimeUTC: -2209161600000,
806
+ maneuverType: "esriDMTTurnLeft"
807
+ },
808
+ compressedGeometry:
809
+ "+hbp6p-1vvvvv8+ibamoo+bc-eim+h3-9un+5m-6ii+0-2fm+5m-3t7+0-676+5m-dar+0-7qd+0-1uk+55-78g"
810
+ },
811
+ {
812
+ attributes: {
813
+ length: 0,
814
+ time: 0,
815
+ text: "Finish at Location 2, on the right",
816
+ ETA: -2209161600000,
817
+ arriveTimeUTC: -2209161600000,
818
+ maneuverType: "esriDMTStop"
819
+ },
820
+ compressedGeometry: "+hbp76-1vvvvsf+ib8d21+0+0"
821
+ }
822
+ ]
823
+ }
824
+ ]
825
+ };