View Full Version : Embed Google Maps?

07-14-2009, 12:08 PM

I am creating a website which will need to embed a google map which needs to be searchable.

Basically people need to go to the website, put in thier road name and allow comments to be seen.

I have seen it where a comment can be assigned to a specific point in a map for example zooming in to see someones house, and there is a comment on the map which pops up saying 'so and so's house'

Now I know how to embed the map in but im not sure how to have the search function (so people can put in their road name) and the comments bit??

Any help appreciated

Old Pedant
07-15-2009, 03:43 AM
You have to call two separate Google methods.

First, you have to "GeoCode" the location. That gives you the latitude and longitude of the given address (or not! some addresses can't be geocoded or produce multiple geocodings because of ambiguity). *THEN* you can use the lat/long to specify the point on the map.

Just go to the google maps APIs and look at the many examples they have there. It's tedious coding, but it's not hard.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum