View Single Post

  #2 (permalink)  
Old 03-05-2006
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi,

Something like this should help you start:

Code:
            Location loc = mp.ActiveMap.GetLocation(lat, lon, alt);
            loc.GoTo();

            FindResults streetResults = map.ObjectsFromPoint(map.LocationToX(loc), map.LocationToY(loc));

            foreach (object o in streetResults) {
                Location streetLoc = o as Location;
                if(streetLoc != null && streetLoc.StreetAddress != null) {
                    // ...
Reply With Quote