Why I can't run the example "the hello world of google maps"?

I received the key, I writed the code, I loaded the page on the domin-
host
but in the page there is no map

this is my code (the same of google - example):

<!DOCTYPE html "-//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";>
    <head>
        <meta http-equiv="content-type" content="text/html;
charset=utf-8"/>
        <title>trova le coordinate</title>
        <script type="text/javascript"
            src="http://maps.google.com/maps?
file=api&amp;v=2&amp;sensor=false&amp;key=mykeyyyy" >
        </script>
        <script type="text/javascript">
            function initialize() {
                if (GBrowserIsCompatible()) {
                    var map = new GMap2(document.getElementById
("map_canvas"));
                    map.setCenter(new GLatLng(37.4419, -122.1419),
13);
                    map.setUIToDefault();
                    }
                }
        </script>
    </head>
    <body onload="initialize()" onunload="GUnload()">
        <div id="Div2" style="width: 500px; height: 300px">
        </div>
    </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