I need to geocode it on the fly, are you aware how to do this.
One example would be CT202QY or CT20 2QY (not sure if you need the uk space or not)
Neil
Main Topics
Browse All TopicsHi
I'm making a display center website and I want to be be able to embed a google map in the page simply by calling the API with a UK postcode (as that is all I have)
I've got a API key but just need the code please.
Runnin out of time to get the site finished so not just hints please.
Thanks
Neil
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here is the working code for anyone that this may help
Basically:
1) sign up for a google MAP and API key and add them where the #### are
http://www.google.com/apis
http://code.google.com/api
2) set your postcode (static or dynamic) using the $pc = xx variable
Neil
(credits to most of the API code go to : http://www.tomanthony.co.u
he, you have the right idea, new question at : http://www.experts-exchang
Business Accounts
Answer for Membership
by: b0lsc0ttPosted on 2008-05-14 at 18:43:31ID: 21570064
What do you mean a "display center website"?
If you provide the UK postcode then I can be more specific but the basic idea is like the html below. Add you API key in the src of th script tag for it to work.
Let me know if you have a question or need more info. I can help with the address if you need but basically you need to geocode it (i.e. get a latitude and longitude) and use that in the code.
bol
Select allOpen in new window