Google maps and GPS

Discussion in 'Google API' started by fogofogo, Sep 17, 2007.

  1. #1
    Hello all,

    does anyone know if its possible to pass GPS co-ordinates into google maps, through api or any other way?

    Thanks!

    John
     
    fogofogo, Sep 17, 2007 IP
  2. Awanish

    Awanish Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    As I understand from your post it seems you want to create a marker on a given set of latitude and longitude.

    If so, yes it is possible.

    1) Create a point object using Maps ApI GLatLng
    2) Create overLay using map.addOverlay(new GMarker(point));
     
    Awanish, Sep 21, 2007 IP