I'm new to Google Maps and to Javascript also, but what i'm trying to
do is so simple and still i can't achieve it. I'm going absolutely
crazy. This is my script code :

<script type="text/javascript">

    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("galerija"));
        map.setCenter(new GLatLng(42.642529,18.104181), 13);
                map.addControl(new GMapTypeControl());
                map.addControl(new GSmallZoomControl());
          map.addOverlay(new GMarker(42.64,18.10));

      }
    }

    </script>

Everything works fine except that marker is always at the same place
in the begining and it is not fixed. I mean when zooming it changes
position. Whatever lat, long i set it is always at the same place in
the begining.

Please help

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to