PDA

View Full Version : Easy way to get address of Desination



PMACAFEE
11-17-2006, 10:30 PM
My program uses the route window to add waypoints to a route displayed on the ocx control.

I then add a pushpin, name and note.

I used a street address to generate the waypoints,not a lat/lon. The get address method seems that it would be unnecessary since the point was derived from a street address.

Is there an easy way to refer to a waypoint address?
I could then transfer it to the pushpin note.

Thanks

Wilfried
11-19-2006, 02:05 PM
Hi,

Yes there is. You can use waypoint.Location.StreetAddress.

PMACAFEE
11-20-2006, 12:52 AM
Once again, thanks.
I used the name property for a while because it is set without a name. I did not realize that waypoint was similar in properties to a pushpin object.

Phil