> One question: I thought the response it self contained all the needed
> information such as addrss, AddressDetails.Accuracy, etc...why do I
> need to us place = response.Placemark[0]; to get all info? Maybe a
> strange question but I need to learn as well...
It is all there, but you have to access it using the correct names.
Before, you wre trying -
... response.AddressDetails.Accuracy;
Now, you're using -
place = response.Placemark[0];
... place.AddressDetails.Accuracy;
and that's fine.
You could instead use
... response.Placemark[0].AddressDetails.Accuracy;
to directly acces the same value, its as straightforward as that
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---