AnsweredAssumed Answered

Directions Widget:  Close Stops and Optimize Order creates bad routes

Question asked by sernst on Aug 19, 2015

If you run the Directions Widget with the "Optimize Order" box checked, and several stops that are close together, the resulting route doesn't make sense.


You can see in the picture below - the route from A to B is illogical.




It's definitely an issue with the widget, because I can run the same route in ArcMap or using the simple routing sample and I get much better results.


Anyone else experienced this and know how to resolve it?  I'm not attaching code, because I'm just using the Directions sample: Directions | ArcGIS API for JavaScript