I am writing a script to convert a LatLng to a postcode/zip code.
I call:
geocoder.geocode({"location": loc}, locationGeocodedSuccessfully);
and have the following callback function:
function locationGeocodedSuccessfully(geocoderResultArray,
geocoderStatus) {
/how to get postcode/zip code from geocoderResultArray?
}
..but is there a tidy (and reliable) way of extracting the postal_code
from the geocoderResultArray array without having to iterate through
with loads of code??
Thanks,
James
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.