Hi. I just started a trial and its a little confusing. So I have a service with my own paths(layers) already setup and I want to use the different layers for determining directions depending on which layer is used. Is this possible to do via the Javascript API methods? Will need to provide start and end address and determine best route depending on layer. I guess it would be similar to avoiding freeways. This would be put on a public website. I looked at the API sandbox but it doesn't provide enough information. http://help.arcgis.com/en/webapi/javascript/arcgis/sandbox/sandbox.html?sample=widget_directions_basic Hope that made sense.
... View more