i am unable to navigate the map after deploying it.
i have adjusted the <div> tag. only after that it is not allowing me
to even change
the views from default to hybrid or satellite. It becomes static. here
is my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xmlns:v="urn:schemas-
microsoft-com:vml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/
>
    <title>Google Maps JavaScript API Example: Simple Map</title>
    <script src="http://maps.google.com/maps?
file=api&amp;v=2.x&amp;sensor=false&amp;key=my_key"
            type="text/javascript"></script>
    <script type="text/javascript">

    function initialize(x,y,z) {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
                var marker = new GMarker(new GLatLng(x,y));
        map.setCenter(new GLatLng(x,y), 12);
        map.setUIToDefault();
                map.addOverlay(marker);
                var html="This is "+ z + "<br/>" +
         "We can locate all the address like this !";
                marker.openInfoWindowHtml(html);

      }
    }

    </script>
  </head>
  <body>
    <div id="map_canvas" style="width: 500px; height: 300px"></div>
        <a href="#" onmouseover="initialize('24.821757','86.21109','this is
test address1')" onmouseout="GUnload()">place1</a><br>
        <a href="#" onmouseover="initialize('11.160087','73.00415','This is
the address 2')" onmouseout="GUnload()">place2</a>
  </body>
</html>



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