Hola Bobby
das hat bei mir funktioniert! Sydney kommt raus;
also height: 100%;
war auch nichts zu sehen, obwohl alle Daten geladen wurden!
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>details</title>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<script type="text/javascript">
function initialize() {
var mapOptions = {center: new google.maps.LatLng(-34.397, 150.644), zoom: 8};
var map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
<style>
#map-canvas {
height: 500px;
width: 500px;
margin: 0;
padding: 0
}
</style>
</head>
<body>
<div id="map-canvas"></div>
</body>
</html>
gruss qx