Need some advice on google maps stuff

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
pedrotuga
Forum Contributor
Posts: 249
Joined: Tue Dec 13, 2005 11:08 pm

Need some advice on google maps stuff

Post by pedrotuga »

Ok, so I want to put up this site where people insert locations by hand. Locations are points, not areas.
I don't have a very clear idea of what's best, or possible, in this situation.

A user should be able to fill in a form in which the location is a field. Now what's the best way to achieve this?
Is there some way I can show a map, and have the user submitting a location by clicking in a spot?

I've used google API before but i never dealt with user input. Also, it was quite a while ago, I've heard there's new versions of the API, and I even heard some people say that now everyting can be done using KML files which sounds kind of odd to me.
rahulreghu
Forum Newbie
Posts: 5
Joined: Sat Feb 21, 2009 12:49 am
Contact:

Re: Need some advice on google maps stuff

Post by rahulreghu »

Please check this. It may help you.
http://code.google.com/apis/maps/docume ... verse.html
User avatar
pedrotuga
Forum Contributor
Posts: 249
Joined: Tue Dec 13, 2005 11:08 pm

Re: Need some advice on google maps stuff

Post by pedrotuga »

rahulreghu wrote:Please check this. It may help you.
http://code.google.com/apis/maps/docume ... verse.html
Can you be more specific. All I see is a map.
rahulreghu
Forum Newbie
Posts: 5
Joined: Sat Feb 21, 2009 12:49 am
Contact:

Re: Need some advice on google maps stuff

Post by rahulreghu »

When u click on the map u can see a marker which specifies the lat/lon and details of that spot. In that way u can collect the details of the spot. U need to copy the source code and run it in ur webserver. Dont forget to get a Google maps API key.

examples link: http://code.google.com/apis/maps/docume ... index.html
Google Maps API key: http://code.google.com/apis/maps/signup.html
Post Reply