View Full Version : Route Waypoint Name

10-03-2002, 12:28 PM
I am adding waypoints to a route using longitude/latitude coordinates using:
objRoute.Waypoints.Add .GetLocation(RS!LATITUDE, RS!LONGITUDE)

When calculating the route and displaying the ordered waypoints using
the Name property displays the numeric values of the latitude a longitude coordinates.

My question is:
How can I asign the waypoints my own (user defined) names so that when I display route waypoints or route directions, it displays my own user defined names for the waypoint instead of the longitude/latitude values?

John Meyer
10-03-2002, 03:00 PM

Code could look something like this:

Set objLoc = objMap.GetLocation(RS!LATITUDE, RS!LONGITUDE)

objRoute.Waypoints.Add objLoc, "My Waypoint Name"