GMap API Coordinate Question

Discussion in 'Google API' started by willmullis, Dec 29, 2005.

  1. #1
    Quick question. Is it possible to get the lat and long coordinates for the spot on the map where you click? I know how to set a marker at that location but I am more interested in capturing the coordinates.

    Is there a built in function in the Google Map API that will allow me to do this? If not is there another approch that I could try?
     
    willmullis, Dec 29, 2005 IP
  2. dave487

    dave487 Peon

    Messages:
    701
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have a script that does this and allows you to click and submit the new coordinates to a database using a form.

    Try this link and then view the source to see how its done.

    http://www.noblemarine.co.uk/maps.php3
     
    dave487, Dec 29, 2005 IP
    mad4 likes this.