I have a Network Analysis service that works fine in the the attached code. I like the simplicity of adding points and a route being solved. I'm wondering if this could be further enhanced (which may be a toll order). What I'm trying to do is use the geoLocation sample here Geolocation | ArcGIS API for JavaScript, have that act as my first input point and then click on a link link inside the infoWindow of a feature in my feature layer to add it as my second input point and then have that trigger the route solve. Would it also be possible to have turn-by-turn directions output as well? Sort of like the sample here: Directions | ArcGIS API for JavaScript. Let me know if you have any other questions or there's anything else I can provide. Right now I can solve the route by clicking on two places on the map, but I can't get turn-by-turn directions, even getting that might be helpful.
thanks,
John