html { height: 100%; margin: 0; } body { height: 100%; margin: 0; overflow: hidden; } .map { height: 100%; width: 100%; }