hi,
I write a program as google api,I apply the key ,and the url is
http://localhost,but the map still doesn't appear ,I want to know
why??
the code is :
<html>
<head>
<title>map test</title>
<script src="
http://maps.google.com/maps?
file=api&v=2&key=ABQIAAAAqMer9dEUo5UJ7jVVjBgvGRT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTFlTq93Vaof72zB4FOGlMqmgBYDg"></
script>
<script type = "text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible())
{
var map = null;
map = new Gmap2(document.getElementById("map"));
map.setCenter(new GLanlng(39.917, 116.397),13);
}
}
//]]>
</script>
</head>
<body onload = "load()" onunload = "GUnload()">
<div id = "map" style = "width: 300px; height: 500px"></div>
</body>
</html>