Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Embed Google Maps?
07-14-2009, 11:08 AM #1
Embed Google Maps?
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
07-15-2009, 02:43 AM #2
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.