I have been using the geocoder to get addresses.  This code extracts the UK 
postcode when it is in the OX3 4 but not when a full postcode is available 
e.g. OX3 3NU.  Is there any reason for this?  In the latter case it defaults 
to the full address with the code below.

Thanks

place = response.Placemark[0]; try { postcode = 
place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.PostalCode.PostalCodeNumber;}catch(err){postcode
 = place.address;}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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