Frequently asked question

Is it possible to create new route layers from the Directions widget in ArcGIS Web AppBuilder?

Last Published: October 7, 2021

Answer

It is possible to create new route layers from the Directions widget in ArcGIS Web AppBuilder. Route layers are a type of feature collection that contain four sublayers (stops, direction events, directions, and route info), each with its own properties such as configurable pop-ups or labels. The route layers can also be shared and used in other maps or web apps.

Note:
Route layers can only be added to web maps through ArcGIS Online Map Viewer Classic.
  1. In ArcGIS Web AppBuilder, click the Widget tab.
  2. Click Set the widgets in this controller, and add the Directions widget. Click OK.
The Choose Widget pane to add the Directions widget to the app.
  1. In the Configure Directions window, configure the parameters. Click OK.
The Directions widget pane to configure the desired options.
  1. Click the Directions tab, and select or fill in the addresses for the preferred route. Click GET DIRECTIONS.
The Directions tab to select or fill in the addresses for the route.
  1. Click the Save and share route icon, and change the layer name under Result layer name if necessary. Click SAVE.
The Save and share route icon to save the route as a new route layer.

The following image shows the newly created route layer saved in My Content in ArcGIS Online.

The newly created route layer saved in My Content in ArcGIS Online.

Article ID: 000026557

Software:
  • ArcGIS Web AppBuilder
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options