I am trying to configure the directions widget in the WAB. Works fine with locally hosted services. When I switch the geocoder to a locally hosted one, it stops working
1. Locations are returning coordinates instead of addresses, even though an address is returned in firebug (same as Defect ID: BUG-000084635 which was marked as fixed but does not appear to be)
2. Locations are then greyed out and "Unable to route to these addresses"
Any ideas?
I added some code
https://jsbin.com/laruyoture/edit?html,output
This should show you how to access the route object and stop objects from the routeResult once it returns.
https://developers.arcgis.com/javascript/3/jsapi/routeresult-amd.html
Many thanks I have already solved the issue but thanks for your help!
I will market it as a solution anyway.
I have another question, is there anyway to save the routes itinerary on a database or on server ... and give the user the ability to load it again.
Many thanks
I use it in our public app in the jsapi and it works since your fix at version 3.15(?).
dlaw-esristaff this is where i originally reported it.