diff --git a/projects/common-map/src/fm-map/components/aol/rotation-reset/rotation-reset.component.scss b/projects/common-map/src/fm-map/components/aol/rotation-reset/rotation-reset.component.scss index 3d304c4..a8f7275 100644 --- a/projects/common-map/src/fm-map/components/aol/rotation-reset/rotation-reset.component.scss +++ b/projects/common-map/src/fm-map/components/aol/rotation-reset/rotation-reset.component.scss @@ -8,6 +8,7 @@ border-radius:1.75em; padding:0; margin-top:0.5em; + display: block; } #north { diff --git a/projects/common-map/src/fm-map/components/map/map.component.scss b/projects/common-map/src/fm-map/components/map/map.component.scss index f02b622..79bf62d 100644 --- a/projects/common-map/src/fm-map/components/map/map.component.scss +++ b/projects/common-map/src/fm-map/components/map/map.component.scss @@ -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 { diff --git a/projects/common-map/src/fm-map/components/map/map.component.ts b/projects/common-map/src/fm-map/components/map/map.component.ts index a135768..8c34a05 100644 --- a/projects/common-map/src/fm-map/components/map/map.component.ts +++ b/projects/common-map/src/fm-map/components/map/map.component.ts @@ -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) {