@esri/arcgis-rest-routing 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/umd/routing.umd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @preserve
|
|
2
|
-
* @esri/arcgis-rest-routing - v3.
|
|
3
|
-
* Copyright (c) 2017-
|
|
4
|
-
*
|
|
2
|
+
* @esri/arcgis-rest-routing - v3.8.0 - Apache-2.0
|
|
3
|
+
* Copyright (c) 2017-2025 Esri, Inc.
|
|
4
|
+
* Tue Apr 15 2025 13:30:50 GMT-0600 (Mountain Daylight Time)
|
|
5
5
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
7
7
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@esri/arcgis-rest-request')) :
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* @preserve
|
|
2
|
-
* @esri/arcgis-rest-routing - v3.
|
|
3
|
-
* Copyright (c) 2017-
|
|
4
|
-
*
|
|
2
|
+
* @esri/arcgis-rest-routing - v3.8.0 - Apache-2.0
|
|
3
|
+
* Copyright (c) 2017-2025 Esri, Inc.
|
|
4
|
+
* Tue Apr 15 2025 13:30:53 GMT-0600 (Mountain Daylight Time)
|
|
5
5
|
*/
|
|
6
6
|
!function(r,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@esri/arcgis-rest-request")):"function"==typeof define&&define.amd?define(["exports","@esri/arcgis-rest-request"],e):e((r="undefined"!=typeof globalThis?globalThis:r||self).arcgisRest=r.arcgisRest||{},r.arcgisRest)}(this,function(r,t){"use strict";var n=function(){return(n=Object.assign||function(r){for(var e,i=1,t=arguments.length;i<t;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}).apply(this,arguments)},i="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",s="https://route.arcgis.com/arcgis/rest/services/World/ClosestFacility/NAServer/ClosestFacility_World",a="https://route.arcgis.com/arcgis/rest/services/World/ServiceAreas/NAServer/ServiceArea_World",o="https://route.arcgis.com/arcgis/rest/services/World/OriginDestinationCostMatrix/NAServer/OriginDestinationCostMatrix_World";function u(r){return r.map(function(r){return 2===(e=r).length||3===e.length?r.join():void 0!==(e=r).latitude||void 0!==e.lat?r.lat?r.long+","+r.lat:r.longitude+","+r.latitude:r.x+","+r.y;var e})}function l(r){for(var e,i,t=0,n=0,s=[],a=r.match(/((\+|-)[^+-]+)/g),o=parseInt(a[0],32),u=1;u<a.length;u+=2)t=e=parseInt(a[u],32)+t,n=i=parseInt(a[u+1],32)+n,s.push([e/o,i/o]);return{paths:[s]}}function c(r){return Object.prototype.hasOwnProperty.call(r,"features")}
|
|
7
7
|
/* @preserve
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/arcgis-rest-routing",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Routing helpers for @esri/arcgis-rest-js",
|
|
5
5
|
"main": "dist/node/index.js",
|
|
6
6
|
"unpkg": "dist/umd/routing.umd.js",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"dist/**"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@esri/arcgis-rest-types": "^3.
|
|
16
|
+
"@esri/arcgis-rest-types": "^3.8.0",
|
|
17
17
|
"@terraformer/arcgis": "^2.0.7",
|
|
18
18
|
"@types/terraformer__arcgis": "^2.0.0",
|
|
19
19
|
"tslib": "^1.13.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@esri/arcgis-rest-auth": "^3.
|
|
23
|
-
"@esri/arcgis-rest-request": "^3.
|
|
22
|
+
"@esri/arcgis-rest-auth": "^3.8.0",
|
|
23
|
+
"@esri/arcgis-rest-request": "^3.8.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@esri/arcgis-rest-auth": "^3.0.0",
|