lt=latitude

lg=longitude


      var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(lg,lt),4);

        function createMarker(latlng)
        {

         var marker = new GMarker(latlng)


          GEvent.addListener(marker,"click", function()
            {

            map.openInfoWindowTabsHtml(latlng,"your text here");
            });
           return marker;
         }

        var latlng=new GLatLng(lg,lt);
       map.addOverlay(createMarker(latlng));
      }



ok
if u have any problem then contact me
[email protected]
mo. 09313832701
website:-  www.pciaa.co.cc
jeet lal patel
PHP developer

thanks

--~--~---------~--~----~------------~-------~--~----~
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