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.
UK Postcode Geocoder Tutorial- Google Maps geocoder for UK postcodes is inaccurate, here is a solution that uses Google Maps API combined with Google AJAX Search API to geocode UK postcodes, all free and all with Google APIs and much greater accuracy.
Something we wondered if we would ever see, but it seems the Google Maps API geocoder will now Geocode UK Addresses and Postcodes (see update below). This is quite big news on many fronts, as traditionally UK geocoding is expensive...
I've no idea how the licensing of this works, but calls to GDirections do correctly geocode full UK postcodes. The locations are slightly different from the maps.google.com locations, since they will have been snapped to the nearest street.
This chunk of code above is what utilises the google maps keys, to pass the data to google, geocode it and return the record and I've written this inside of a function that gets called on the form
I need to be able to generate a Google Map using a UK postcode. Does anyone know of a UK geocode resource that will help me convert / find the lat and long values I need to pass to GM?
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.
Geocode Postcodes & Get Co-ordinates 1st Postcode $pc1 = 'http
Re: Geocode a UK postcode. I think you are maybe going about this the wrong way. The google maps API, which is used to produce the map on that automateexcel website will take a UK postcode if you set it up right, its just that hes got it working on lat and lon.