The problem is:
I can't get this attributes from Buenos Aires,

The object place is defined:
place = response.Placemark[0];

alert(place.address); OK
alert
(place.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName);
ERROR
alert
(place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName);
ERROR
alert
(place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.LocalityName);
ERROR




On 31 jul, 14:35, Edge <[email protected]> wrote:
> I don't really understand what you are trying to get to... do you have
> a problem with the maps api or just a general question about the maps.
> This group is dedicated for the api issues... but you could try doing
> an increasing alert statement to see if place is actually defined.
>
> alert(place);
> alert(place.AddressDetails);
> .....
>
> If you don't get some kind of object then you must not be defining
> "place."
>
> -Edgar
>
> On Jul 30, 9:31 pm, Enrique <[email protected]> wrote:
>
> > Doesn't work JSON attributes:
>
> > place.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName;
>
> > place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName
>
> > place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.LocalityName
>
> > for Ciudad de Buenos Aires
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to