I'm creating an travel app and I want to integrate different travel modes.
In editing the directions widget in a web app, I'm trying to find the "travel mode url". I have published a service but I don't know how to get to that travel mode url. I see the example but I'm not finding a similar url to match.
I already added travel modes at the network dataset level but I wanted to integrate it into the directions output of the app.
I see that the directions widget allows me to to do that through inputting a travel mode url but I'm not exactly sure how to get that url.
I see the example but I'm not seeing an equivalent in the capabilities of the network analysis service that I published.
Please see the link attached to see what I'm referring to.
You I have seen the Directions widget settings page and the input box for the travel modes url, but I have not seen any documentation on where to obtain that url from. You may need to contact esri tech support for that answer.
Are you using Web Appbuilder in ArcGIS Online or ArcGIS Portal? Or are you using the Developer Edition?
If you are using ArcGIS Online or Portal, try leaving the Travel Modes URL blank and the travel modes should show up in the widget. I did this and it worked for me.
I posted a question thread today because when I tried the same thing in Web Appbuilder Developer Edition the travel modes do not show up.
Please have the following steps a try:
1. Configure your Travel modes: Travel modes—ArcGIS Online Help | ArcGIS
2. Use the follwing URL as the Travel Mode URL in Dereicetioins widget:
You should be able to choose travel modes on Directions widget in this case.