Version 3.6.0
@esri/arcgis-rest-routing
Routing helpers for @esri/arcgis-rest-js
npm install:
npm install @esri/arcgis-rest-routing @esri/arcgis-rest-auth@^3.0.0 @esri/arcgis-rest-request@^3.0.0
Module Import:
import {
closestFacility,
decompressGeometry,
isFeatureSet,
normalizeLocationsList,
originDestinationMatrix,
serviceArea,
solveRoute,
} from "@esri/arcgis-rest-routing";
CDN:
<script src="https://unpkg.com/@esri/arcgis-rest-routing@3.6.0/dist/umd/routing.umd.min.js"></script>
CDN with SRI:
<script src="https://unpkg.com/@esri/arcgis-rest-routing@3.6.0/dist/umd/routing.umd.min.js" integrity="sha384-D0RNbspRFvx/R0mk2vMppwUM/276BMmNvyNm7MgOTnyTatoKkMKn07V0ZJdNdlXw" crossorigin="anonymous"></script>
- closestFacility
- decompressGeometry
- isFeatureSet
- normalizeLocationsList
- originDestinationMatrix
- serviceArea
- solveRoute
- ARCGIS_ONLINE_CLOSEST_FACILITY_URL
- ARCGIS_ONLINE_ORIGIN_DESTINATION_MATRIX_URL
- ARCGIS_ONLINE_ROUTING_URL
- ARCGIS_ONLINE_SERVICE_AREA_URL
- IClosestFacilityOptions
- IClosestFacilityResponse
- IEndpointOptions
- IOriginDestinationMatrixOptions
- IOriginDestinationMatrixResponse
- IServiceAreaOptions
- IServiceAreaResponse
- ISolveRouteOptions
- ISolveRouteResponse