html, body { height: 100%; margin: 0; } #map { height: 100%; width: 100%; }