-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add selector for map layers specific to displacement
- Loading branch information
1 parent
82368b1
commit 9f34cd0
Showing
8 changed files
with
143 additions
and
1 deletion.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
src/app/components/map/displacement-layers/displacement-layers.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<div class="disp-layers--layout position"> | ||
<div class="layers-selector fx-col"> | ||
<mat-checkbox> | ||
<div class="selector-text"> | ||
Rollout | ||
</div> | ||
</mat-checkbox> | ||
|
||
<mat-checkbox> | ||
<div class="selector-text"> | ||
Cumulative Deformation | ||
</div> | ||
</mat-checkbox> | ||
|
||
<mat-checkbox> | ||
<div class="selector-text"> | ||
Cumulative Velocity | ||
|
||
</div> | ||
</mat-checkbox> | ||
|
||
<div class="help-text"> | ||
What are these? | ||
<app-docs-modal class="info-icon" | ||
url="https://docs.asf.alaska.edu/vertex/manual/#area-of-interest-options"> | ||
</app-docs-modal> | ||
</div> | ||
</div> | ||
|
||
<div class="footer"> | ||
<div class="footer--text"> | ||
Map Layers | ||
</div> | ||
</div> | ||
</div> |
56 changes: 56 additions & 0 deletions
56
src/app/components/map/displacement-layers/displacement-layers.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
@import "asf-theme"; | ||
|
||
.disp-layers--layout { | ||
height: 100%; | ||
min-height: 100%; | ||
width: fit-content; | ||
flex-direction: column; | ||
box-sizing: border-box; | ||
display: flex; | ||
} | ||
|
||
.position { | ||
z-index: 998; | ||
margin-left: 0; | ||
top: 20px; | ||
} | ||
|
||
.layers-selector { | ||
@include themify($themes) { | ||
background-color: themed('primary-light'); | ||
} | ||
|
||
padding-bottom: 4px; | ||
padding-right: 10px; | ||
pointer-events: auto; | ||
} | ||
|
||
.selector-text { | ||
font-weight: bold; | ||
} | ||
|
||
.help-text { | ||
padding-left: 10px; | ||
font-size: small; | ||
} | ||
|
||
.footer { | ||
@include themify($themes) { | ||
background-color: themed('primary'); | ||
} | ||
|
||
width: calc(100% + 10px); | ||
margin: 0 0 0 -10px; | ||
height: 16px; | ||
} | ||
|
||
.footer--text { | ||
@include themify($themes) { | ||
background-color: themed('primary'); | ||
color: themed('light-secondary-text'); | ||
} | ||
|
||
font-size: 12px; | ||
margin-top: 0; | ||
padding-left: 20px; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/app/components/map/displacement-layers/displacement-layers.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-displacement-layers', | ||
templateUrl: './displacement-layers.component.html', | ||
styleUrl: './displacement-layers.component.scss' | ||
}) | ||
export class DisplacementLayersComponent { | ||
|
||
} |
30 changes: 30 additions & 0 deletions
30
src/app/components/map/displacement-layers/displacement-layers.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
|
||
import { MatMenuModule } from '@angular/material/menu'; | ||
import { MatCheckboxModule } from '@angular/material/checkbox'; | ||
|
||
import { DisplacementLayersComponent } from './displacement-layers.component'; | ||
import { DocsModalModule } from '@components/shared/docs-modal'; | ||
|
||
import { MatSharedModule } from '@shared'; | ||
import { SharedModule } from "@shared"; | ||
|
||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
MatMenuModule, | ||
MatCheckboxModule, | ||
MatSharedModule, | ||
SharedModule, | ||
DocsModalModule, | ||
], | ||
declarations: [ | ||
DisplacementLayersComponent | ||
], | ||
exports: [ | ||
DisplacementLayersComponent | ||
] | ||
}) | ||
export class DisplacementLayersModule { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './displacement-layers.module'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,10 @@ | |
height: 58px; | ||
} | ||
|
||
.disp-layers { | ||
margin-top: 10px; | ||
} | ||
|
||
.map-control-margin { | ||
margin-right: 72px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters