Google Maps From Postcodes?

Viewing forum thread.
Back to Technology chat.
Back to Forum List.

Deleted User
(IP Logged)
10:36 Tue 23 Jun 09 (BST)  [Link]  
Hi, I am currently working on a website which contains a register of Organisations (Names, Address, Postcode ect).

All details are held on a MySQL Database.

Is it possible to load a google map when a perticular Organisations details are displayed on the page?

I had a look at the Google Maps API, but I don't really understand how to implement it on my site.

Any help would be greatly appreciated.
Deleted User
(IP Logged)
13:32 Mon 29 Jun 09 (BST)  [Link]  
Bump for help.

I can't help you, but theres plenty of people who can.
Deleted User
(IP Logged)
14:23 Mon 29 Jun 09 (BST)  [Link]  
Are you putting a map on your site showing where in the area where your organisation is?

For example for Halton Lea Shopping City near mine.
Posted Image

Edited at 19:30 Mon 29/06/09 (BST)
spinner
spinner
Admin
Posts: 8,934
19:17 Wed 1 Jul 09 (BST)  [Link]  
Just noticed this, and I tried to do something similar a year or so back, and while it never made it to web use, it did work in testing (that was from a simple postcode form field, but you sould be able to link to the SQL fields easily enough)

I used this tutorial : http://www.tomanthony.co.uk/blog/geocoding-uk-postcodes-with-google-map-api/

As mentioned there, the problem lies in the Royal Mails "copyright" style agreement over postcodes.

Whether you can adapt that to show multiple addresses at the same time I am unsure.

Perhaps you would be better researching KML files..
Deleted User
(IP Logged)
21:27 Wed 1 Jul 09 (BST)  [Link]  
I didn't know Royal Mail has any copyrights on postcodes :-S
Deleted User
(IP Logged)
21:26 Fri 3 Jul 09 (BST)  [Link]  
That tutorial seems to be what im looking for.

What i was thinking of (if possible) was to have a url in the SQL database (Google or another map site) then stick the postcode on the end of the URL using PHP echo to act as a search query. I.e. maps.google.co.uk?q=POSTCODE

Not sure if this is possible though?
Deleted User
(IP Logged)
22:13 Fri 3 Jul 09 (BST)  [Link]  
http://maps.google.co.uk/?q=WA72EU

Halton Lea again, would that work for you? but with your postcode
Unable to post
Reason:You must log in before you can post

Google Maps From Postcodes?

Back to Top of this Page
Back to Technology chat.
Back to Forum List.