For places that have zip codes, you can do this with the reverse 
geocoder results:

var zipcode = 
result.Placemark[0].AddressDetails.Country.AdministrativeArea.Locality.Po
stalCode.PostalCodeNumber;

The problem is that if the reverse geocoder goes into "town" mode rather 
than "street" mode, then that chain breaks somewhere in the middle, so 
you have to test for the existence of each sub property in the list. The 
reverse geocoder seems to use "town" mode if the GLatLng is more than 
about 100 metres from a street that's in its database.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


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