Longitude + Latitude finder for an emedded google map

Im not sure where to beging or even how to do this, but if possible, could anyone tell me or point me to a website etc...

I have 2 collums named longitude and latidude and on next collum over i have a button saying "find place" or somthing like that. I want that button to take both of the other 2 collums and find it on the map, is this possible?
Who is Participating?
Marcus BointonConnect With a Mentor Commented:
Well you're not passing the lat and long to the opened window, so it's no surprise it doesn't know where to go. Try something like this:

<input type="button" value="New Window!" onClick="window.open('http://www.nexodom.com/website/map.php?lat=0.09176&long=51.75327&label=Subway','mywindow','width=600,height=400,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes')">

Then on your map.php page, take those params and pass them in when you create the google maps tag.
Lee-BartlettAuthor Commented:
this link to my site, just imagine a row after longitude with buttons in

Marcus BointonCommented:
This is about giving google maps a location to show. You can do it simply like this:


That is you just drop it the lat and long. If you read the google maps docs, you'll see there are lots of other properties you can set to add things like labels, images etc.

Lee-BartlettAuthor Commented:
Ive changed it now, new window is my button which opens up my embedded google map, website is

Lee-BartlettAuthor Commented:
I read them but i dont see where i can link them in with my database to automatically find the longitude and latitude if correct on the opened map
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.