I built a network dataset and am using it in a WPF application through arcgis server. I have a Directions window that lists the directions for driving through the route that was calculated.
My problem is: The directions refer to the stops as "location1", "location2" and so on. I saw in the online API that the stops are referred to as the addresses themselves (Look in the the attachment - underlined in red). How can I mimic this?
Hi, when you add locations to the Stops sublayer of the Route layer, you can specify which value/field will be used for the Name. The Name field is used then in the Directions window (of course you can choose what field to use in the Directions).
I believe there should be an individual property for the Stops class where you can programmatically add the value user entered (and the one that is used for geocoding).