Select to view content in your preferred language

Configure Directions JavaScript Template Web App

3706
2
10-26-2015 01:31 PM
NathanJennings
Regular Contributor

I am trying to use the Directions template in Web App Builder (the one on ArcGIS Online).  I have a polygon layer of parking garages that I would like to use as my destination.  I have this layer in my web map that I created.

I would like to use the ESRI provided Routing service (yes, I know it uses credits).

When I attempt to use an address or click a point on the map and then click the "routing icon" on my list of parking garages, I get the following.

"Route service description was not reached or recognized. Please check service URL and/or user credentials, if specified."

I have found no real "help" on this and not sure what my options are.

Also, I noticed that every time I refresh the map, the Index numbers change for the specific garages....this seems odd.

Thank you for any assistance.

Nate

Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Nathan,

I am trying to use the Directions template in Web App Builder (the one on ArcGIS Online)

This statement has me pretty confused. Web AppBuilder is a esri web mapping application product that is a responsive viewer application for web maps.

The Directions Template is one of many of esris online JS template applications

http://www.arcgis.com/home/item.html?id=556db83093934365a8d7e2f294aa785b

These are two different applications.. Are you trying to combine them? If so why? WAB has a directions widget that you can use.

0 Kudos
NathanJennings
Regular Contributor

I am trying to use the Directions template as "the template" for providing a web application that uses routing.  I have been getting inconsistent results and functionality when trying to route from a user selected location or an address they type in the search box to a destination (which right now is a feature layer with polygons (i.e. parking garages).  I have chosen to use the ESRI routing option.  Because my results (such as turn directions and the route does not show up consistently), I am reaching out to the user community to see if they have any suggestions.

I am aware that the Directions template is one of many that can be used as a Web App.

The general work flow as I understand it is:

1. Add a feature layer to a map.  Save the map

2. Choose to Create a Web App

3. Select a template if desired (I chose the Directions template)

4. Configure look/feel and functionality (such as routing).

If you have any suggestions or insight on the routing inconsistency issue.

Thank you for your reply.

Nate

0 Kudos