View Single Post

  #8 (permalink)  
Old 01-03-2007
VC_Man VC_Man is offline
Member
Green Belt
 
Join Date: Nov 2006
Posts: 93
Re: How to retrieve complete address from longitudes and latitud

Hi Wilfried,

Suppose I've a pushpin somewhere on the map and from the pushpin I retrieve the Location object. Is that enough to parse one streetadres from it, or do I have to add some codes to get a nearest adress? Because I've seen your example where you used altitude = 1. I don't know if that is necessary if I've already a pushpin from where I get the Location object.

I ask this because I've a set of hundreds of pushpins, and when I select a particular pushpin, I want to see the associated adress. So I guess there is normally one adress, because my pushpins will alway be on the road and not in a parc, a playground or something else.

So what do you think, with your huge MP experience

Also I like to know how to check wether an object is type of Pushpin, Location, Shape etc....
The reason I ask this, is in the eventmethod: object.SelectionChange(NewSelection, OldSelection)
NewSelection can be Direction, Location, Pushpin, Shape, or Waypoint object on the map.
So that's why would like to know how to know which objecttype I deal with.
I hope somebody reply on this soon, thnx anyway

Last edited by VC_Man; 01-03-2007 at 06:49 AM..
Reply With Quote