kan ikke loade min google api map
jeg har prøvet af få min side til at vise et google map, dog uden held er der nogen der kan hjælpe:Koden ser således ud:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Euromilling</title>
<link href="css/xxx.css" rel="stylesheet" type="text/css" />
<script src="http://maps.google.com/maps?file=api&v=2&sensor=true&key=ABQIAAAA9HDKyae_-woXc7QDBpWGSxT-1_Rl0AIQu-j1B5HNJJ5aorTfThSLXOAIDt9t44BuhiWSoyJMBa-5fg" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(18.4419, 73.1419), 8);
map.addControl(new GLargeMapControl());
map.addControl(new GScaleControl());
GEvent.addListener(map, "click", function(marker, point) {
if (marker) {
} else {
var marker = new GMarker(point);
map.addOverlay(marker);
var lat = point.y;
var lng = point.x;
marker.openInfoWindowHtml("Latitude:"+lat+"<br/>Longitude:"+lng);
}
});
}
}
//]]>
</script>
</head>
<body onload="initialize()" onunload="GUnload()">
<div id="map_canvas" style="width: 500px; height: 300px"></div>
</body>