Google Maps API. Information on UK Postcodes.
Map of the UK where you can see the locations of all area level / out code postcodes.
Edit: To be clearer this uses the local search in google search api, not the google maps api to do the geocoding which is much more accurate. The best way is to use Google Search Api.
You can do it purely though Google maps. I did it for a client earlier this year and have just had to do a few modifications. I also did some direction-grabbing. It's all pretty simple but best viewed in context. Take a look at the source of the page I made.
I have a database with UK postcode data in it, I have my API Key for Google Maps and I want to develop a page that loads a record from my database and displays a map based on the postcode in the recordset. I am using classic VB.
Using Google Maps API to look up a UK postcode to an address with a relatively high accuracy for free!...
This is a full list of UK postcodes, including active postcodes and those that are no longer in use. Here you can view maps of postcode areas and individual postcodes with local information and download the data for use in Excel and Google Earth.
Google API free does not have a UK license for postcodes hence the accuracy of using Google maps for store Locators is very poor. They also cannot Gecode Ireland, Developers and agency’s have awful get rounds which often show US towns instead of UK as only based on the first 4 digits of a postcode.
Google Maps has a well know API that can be used for great things. The most common one of course – putting a map on your website and placing markers to show where things are.