Configure directions

Follow the steps below to connect to a routing service, configure the map, and configure the widget to enable directions in the application.

Configure map (ArcGIS Enterprise only)

Map configuration enables or disables the ability to configure routing and directions in the Web AppBuilder widget. To enable and disable routing, on the ArcGIS Online item page, complete the following steps:

  1. Browse to your ArcGIS Online map item page.
  2. Click the Settings tab and click Web Map Settings.
  3. In the Application Settings section, disable Routing to turn off directions in your application, or enable Routing to turn directions on.
  4. Click Save.
  5. Save the map and, if the application will be public, share it with everyone.

Configure widget

To configure the My Hazard Information application to use routes and provide directions, complete the following steps:

  1. Sign in to your ArcGIS Online organization.
  2. Browse to the ArcGIS Web AppBuilder application item page and click Edit Application.
  3. Browse to your My Hazard Information widget and click the Edit button.
  4. Click Direction Settings tab > Set and choose a routing service.
  5. Click Next and choose one or more route layers, and then click OK twice.
  6. Save the application and share it with everyone.
  7. Launch your application.

Esri premium content

The application draws routes and provides directions using the ArcGIS Online World Route Service. This service requires Subscriber access as it consumes credits. Before generating routes, open the Attributes tab of the configuration of your Web AppBuilder application and configure Subscriber content access with the URL of the routing service used by your widget.

Learn more about credit usage when creating simple routes

Top