Add Stop Times in Javascript API

3295
0
11-17-2014 09:04 PM
FredHejazi
New Contributor III

I have an ArcGIS online application using the Javascript API.  It is using the Route Task, and I need to add Stop times for my route.

There does not seem to be a way to add wait time to stops.  Wait time, is the time it takes the driver to take a package from the truck and drop it off at the door.  It can be the same for all stops as an average, or specific to each stop.  I would be okay with either option.

There are options on the desktop and REST API for doing multiple variations of what I am looking to do.  However, the Javascript API does not seem to have it, which makes no sense for this option not to be a part of the routing process.  The routing results let you get the total time it takes to complete the route.  But why would you want to get the time it takes to route between several stops without ever stopping at any of them.

Any help would be appreciated.

Thanks

Tags (3)
0 Kudos
0 Replies