Fix map viewport size
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-10-28 17:54:46 +01:00
parent 9fb5a9698c
commit a5ece9b453
3 changed files with 4 additions and 7 deletions

View File

@ -8,6 +8,7 @@
border-radius:1.75em; border-radius:1.75em;
padding:0; padding:0;
margin-top:0.5em; margin-top:0.5em;
display: block;
} }
#north { #north {

View File

@ -1,6 +1,6 @@
@import "~bootstrap/scss/bootstrap.scss"; @import "~bootstrap/scss/bootstrap.scss";
aol-map { position:absolute;width:100%;height:100%;} aol-map { position:absolute;width:100%;height:calc(100vh + 4rem);}
.arrow { .arrow {
top: 3rem; top: 3rem;
@ -49,7 +49,7 @@ aol-map { position:absolute;width:100%;height:100%;}
.control-container { .control-container {
position: absolute; position: absolute;
right: 1em; right: 1em;
bottom: 1em; bottom: 5em;
} }
switch2d3d { switch2d3d {

View File

@ -281,10 +281,6 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit {
} }
}); });
this.initialized = true; this.initialized = true;
// setTimeout(() => {
// this.map.instance.updateSize();
// }, 500);
} }
handleSearchCollapse(event) { handleSearchCollapse(event) {