elc-js
JavaScript client library for accessing WSDOT's Enterprise Location Class ArcGIS Server SOE.
Installation
npm install wsdot-elc
This package uses the Fetch API. If using this package in Node, you will also need to install a polyfill such as isomorphic-fetch.
// import the fetch polyfill module if fetch is not defined in current environment.if typeof fetch === "undefined" ;
Example
// module import; // Create route locator client object.; // Find route location. Minimum required parameters. ; // use a single reference date insteat of per-location date; // find nearest route location; // get a list of supported routes;
Modules
RouteLocator
A class that aids in calling the ELC SOE.
Route
A class that represents a route in WSDOT's Linear Referencing System.
RouteId
A class that represents a route's ID.
RouteList
A class that represents the list of routes returned from the ELC SOE's routes
endpoint.
RouteLocation
Represents a route location result returned from ELC SOE operations.