Directions Widget: Close Stops and Optimize Order creates bad routes

2044
0
08-19-2015 08:59 AM
ShawnaErnst
Occasional Contributor

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.

DirectionsWidget.JPG

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

Thanks,

Shawna

0 Replies