AnsweredAssumed Answered

Using GPS coordinates as inputs for driving directions

Question asked by Diomedes275 on Jul 12, 2014
Latest reply on Aug 13, 2014 by DOpgenorth-esristaff



I'm working on a javascript webmap application, and I want to incorporate the functionality of the sample located at: Directions Widget.  What I'm trying to do is use the output of the geoLocate sample to populate field A and then use the GPS coordinates of my destination point to populate field B.  Is there a place in the code where this capability is accessible?  Am I missing something?  Can this script be manipulated to allow for GPS data to be entered as variables in these fields without copying and pasting addresses location. You know they way it's done in Bing or Google?

I have created route geoprocessing tool that is hosted on a ArcGIS for server so I won't have to use credits from ArcGIS online.