The ArcGIS Routing service can be used by developers to determine a route between locations a show directions. In this video, Rene Rubalcava will have you take a look at how to use the tools in the ArcGIS API for JavaScript to add routing to your web mapping applications.
🕑 Chapters
=============
00:00 Intro
00:41 What we will build
01:09 Importing modules
02:24 Setting the Routing location service
02:52 Define addGraphic function
04:22 Listening to the map click
06:26 App preview
06:45 Define getRoute function
09:08 Add getRoute call
09:58 Running the app