Hello/ I'm new in Google API. I have next problem. My snipped code:

geocoder.getLocations(latlng, function(addresses) {
          if(addresses.Status.code != 200) {
            alert("reverse geocoder failed to find an address for " +
latlng.toUrlValue());
          }
          else {
            var address = addresses.Placemark[0];
                        marker.openInfoWindowHtml(address.address);
          }
        });
        }

i want to have simple way to get separate Country, Steert, Zip
and ...... For example:

            var address = addresses.Placemark[0];
            alert(address.Street);
            alert(address.Country);
            alert(address.Zip);

Is any way to do it????

Thank you!

--~--~---------~--~----~------------~-------~--~----~
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