Can the API for Google Maps be used to retrieve the latitude and longitude for a given Postal Code or City+Region combination for foreign countries such as The United Kingdon, France, Italy, Japan, Australia etc. ?
I am working on a project that requires local search results. For domestic users I retrieve their lat/lon via a U.S Zip Codes Table in our database. It does not involve showing any maps, just results of other users who are in their area via a radius formula based on lat/lon values. For foreign users' local search results: I am just showing results based on matching City Name.
At the moment non-U.S users lat/lon is being retrieved via PHP GeoIP data. I'd like to be able to retrieve more accurate values depending on the city+region or postal code the user provides.
I am considering getting postal code tables (which have lat/lon fields) for other countries. Or is the Google Map API idea a better solution?