Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cyatteau/arcgis-rest-js-routing-video

Courtney Yatteau shows how to find the directions between two points by creating a simple routing application using the ArcGIS REST JS API.
https://github.com/cyatteau/arcgis-rest-js-routing-video

arcgis-platform arcgis-rest-api arcgis-rest-js directions open-source routing

Last synced: 5 days ago
JSON representation

Courtney Yatteau shows how to find the directions between two points by creating a simple routing application using the ArcGIS REST JS API.

Awesome Lists containing this project

README

        

# ArcGIS REST JS: Find a Route and Directions

Table of Contents
---------------------

* [Description](#description)
* [Live Demo Clip](#clip)
* [CodePen Playground](#codepen)
* [Required Dependencies](#dep)
* [Other Requirements](#req)

## Description

This is a simple routing application that uses the [ArcGIS REST JS API](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-routing/). Enter two points (starting and ending stops) to see the directions and mile lengths of each direction step.

## Live Demo Clip

## CodePen Playground
- Test out the application! Be sure to follow directions under "Other Requirements" to get an API Key.

## Required Dependencies

- `npm install @esri/arcgis-rest-request`. Find API Reference info [here](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-request/).
- `npm install @esri/arcgis-rest-routing`. Find API Reference info [here](https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-routing/).

## Other Requirements

- Sign up for an [ArcGIS Developer Account](https://developers.arcgis.com/sign-up/).
- Get an API Key. Find video instructions [here](https://www.youtube.com/watch?v=StVncn6DLzc.).