Fix map viewport size
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

2022.01
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;
padding:0;
margin-top:0.5em;
display: block;
}
#north {

View File

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

View File

@ -280,11 +280,7 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit {
this.replaceUrl(newUrlState.mapState,newUrlState.queryState,newUrlState.replaceUrl);
}
});
this.initialized = true;
// setTimeout(() => {
// this.map.instance.updateSize();
// }, 500);
this.initialized = true;
}
handleSearchCollapse(event) {