.myApp { margin: 0; height: 100vh; width: 100vw; } .toolbar-spacer { flex: 1 1 auto; } .mat-toolbar { height: 4% } .map-container { margin: 10px; height: 94%; } .map-frame { height: 100%; width: 100%; } #map { height: 100%; width: 100%; }