Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

WSDOT-GIS/elc-ui

Repository files navigation

elc-js

JavaScript client library for accessing WSDOT's Enterprise Location Class ArcGIS Server SOE.

bitHound Score

Installation

This package is registered with Bower with the name wsdot-route-locator.

Once you have Bower installed on your system, you can run the following command at the command line to download the package and all dependencies to your project.

$ bower install wsdot-route-locator --save

For Visual Studio users

Visual Studio users can use the Package Installer extension to install the wsdot-route-locator bower package as an alternative to using the command line.

Whichever installation method you choose, once you have installed the wsdot-route-locator package, you'll also need to add the dependencies in the bower_components directory (customevent-polyfill.* and es6-shim.*) to your Visual Studio project.

Modules

Most modules are UMD modules that will work with browser globals (i.e., loaded via HTML script tags), AMD (e.g., Dojo or RequireJS), and NodeJS.

RouteLocator

A class that aids in calling the ELC SOE.

Route

A class that represents a route in WSDOT's Linear Refrencing System.

RouteId

A class that represent's 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.

UI

These AMD modules are used to create user interface components in a web browser.

ElcUI

Provides user interface that allows user to specify ELC parameters.

RouteSelector

Control that allows the user to select from a list of Route objects. This is a UMD modu

ArcGisElcUI

Extension of ElcUI for use with the ArcGIS API for JavaScript.

See demo/ArcGisElcUI folder contents for example usage.