I am using arcgis javascript Direction Service. After getting response the stops are not in order. That means the order I put the stops as input are different when I get the response from Direction Service.
Try setting the findBestSequence to false parameter of your RouteParameters.
Hi,
Thanks for your reply. Actually we are using Direction Serivce, and
there I can find no "findBestSequece" property.
https://developers.arcgis.com/javascript/3/jsapi/directions-amd.html#maxstopsreached
Thanks & Regards
Ratikant
If using the Directions dijit in 3.17, I would start by looking at some of the constructor parameters such as 'optimalRoute' and 'showOptimalRouteOption'.
Thanks for your suggestion. I will try.