Here is the code:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /
>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/
>
<title>Google Maps JavaScript API v3 Example: Fusion Tables Layer
Styling</title>
<link href="
http://code.google.com/apis/maps/documentation/
javascript/examples/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="
http://maps.google.com/maps/api/
js?sensor=false"></script>
<script type="text/javascript">
function initialize() {
var map_center = new google.maps.LatLng(39.876019,
-7.514648);
map = new
google.maps.Map(document.getElementById('map_canvas'), {
center: map_center,
zoom: 6,
mapTypeId: google.maps.MapTypeId.ROADMAP
});
}
</script>
</head>
<body onload="initialize()">
<div id="map_canvas" style="height: 450px; width: 400px; margin:
15px"></div>
</body>
</html>
The problem is that when I use the name of the server (insted of
"localhost"), it doesnt display the map layer and navigation buttons.
But Only on IE8. On Firefox runs perfect.
> >
http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide quoted text -
>
> - Show quoted text -