Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 53 additions & 51 deletions samples/maps/geo-map/display-azure-imagery/src/app.component.scss
Original file line number Diff line number Diff line change
@@ -1,75 +1,77 @@
:host {
display: inline;
padding: 0px;
}

.keyInForm {
igx-input-group + igx-input-group {
margin-top: 24px;
}
}

.dialog-container{
display: flex;

igx-icon {
margin-right: 8px;
}
}

.hidden {
display: none;
}

.show {
display: inline;
}

::ng-deep igx-dialog.custom-dialog {
width: 400px;
height: auto;
}

/* === Map layout fixes for iframe === */
.container {
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
width: 100%;
padding: 0;
}

/* Controls always on top */
/* === Controls === */
.controls-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
justify-content: center;
position: relative;
z-index: 10; /* ensures above map */
z-index: 10; /* stay above map */
padding: 8px 0;
}

/* Map container fixed height */
/* === Map Container === */
.map-container {
flex: 1 1 auto; /* expand to fill available space */
display: flex;
flex-direction: column;
position: relative;
width: 100%;
height: 500px; /* same as React sample */
height: 100%;
overflow: hidden;
}

/* Map expands full width/height */
.map-container igx-geographic-map {
flex: 1 1 auto;
width: 100%;
height: 100%;
position: absolute;
inset: 0;
z-index: 0;
}

/* Placeholder image overlays map but lets clicks through */
/* === Placeholder Image === */
.map-container img.placeholder {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
top: 50%;
left: 50%;
width: 950px;
max-width: 900px;
height: auto;
transform: translate(-50%, -50%);
object-fit: contain;
z-index: 1;
pointer-events: none;
pointer-events: none; /* clicks go through */
}

/* Map fills its container but stays below controls */
.map-container igx-geographic-map {
position: relative;
width: 100%;
height: 100%;
z-index: 0;
/* === Utility Classes === */
.hidden {
display: none !important;
}

.show {
display: inline !important;
}

.dialog-container {
display: flex;
align-items: center;

igx-icon {
margin-right: 8px;
}
}

::ng-deep igx-dialog.custom-dialog {
width: 400px;
height: auto;
}