I want to create map using localhost.

I registered the API key using http://localhost as domain name.

My code is :
---------------
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Google Map First Try</title>


<script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;sensor=true_or_false
 
&amp;key=ABQIAAAARwBc75OILOIGYyjGcoogUhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTcnOEfK7XQj0ZvtbcNxKvR3KGsJA"
    type="text/javascript">
  </script>

 <script>
function createMap() {
  var map = new GMap2(document.getElementById("map"));
  map.setCenter(new GLatLng(37.44, -122.14), 14);
}
 </script>


</head>

<body onload="createMap()" onunload="GUnload()">
  <div id="map" style="width:100%;height:50%"></div>
  <p>teting</p>
</body>
</html>



Whats the reason my map cant be load?

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