Skip to content

Commit

Permalink
feat(layer): Bindind layers together (some identified properties and …
Browse files Browse the repository at this point in the history
…deletion) (#720)

* fix(directions): search term change and map synchronization (#580)

* fix(directions) Always subscribe to term change

* fix(directions) add layer to map synchronization

* refactior(directions) lint

* locale(mapTool): empty map

* refactor(map): remove not used alias property

* chore(template): fix pull request template

* fix(search): provide projection service for coordinates search source

* locale(auth): add login lockout message

* fix(ogc-filter, style): better handling grouped layers (#581)

* fix(*) better handling grouped layers

* refactor(share-map) Rollback for grouped layers

* fix(demo/toast-panel): fix spatial-filter alias in demo / resize checkbox in zoom menu feature (#586)

* feat(datasource): retrieve query format from capabilities (#582)

* query format from capabilities

* lint

* fix(geojson2): extract

* Update capabilities.service.ts

* feat(datasource): retrieve options from api (#583)

* in progress

* in progress

* in progress

* infoFormat

* remove console.log

* Update options-api.service.ts

* max resolutions null

* keep query params concept

* convert scaleDenom to resolution

* fix imports

* add providers

* fix options api error

* fix(datasource): improve error handling

* chore(*): add package dependencies

* fix(layer): add tile-watcher to vectortile-layer (#595)

* tile watcher added to vectortile layer

* fix export network-ionic

* remove networkionic import

* feat(search-setting): Add a button to check/uncheck all sources (#589)

* refactor(ilayer) add fileds to result formatter

* feat(search-setting)Add a button to check/uncheck all sources

* Update fr.geo.json

* Update en.geo.json

Co-authored-by: Marc-André Barbeau <[email protected]>

* feat(context): allow user to filter context list (#588)

* feat(context): allow user to filter context list

* light interface changes

* Add a display control for the context filter

* fix(search) Last checked source result was kept into the search-results when unchecked. (#602)

Co-authored-by: PE Lord <[email protected]>

* fix(layer): updateInResolutionRange works properly if maxResolution = 0 (#597)

* fix(layer): updateInResolutionRange works properly if maxResolution = 0

* Update layer.ts

Co-authored-by: Marc-André Barbeau <[email protected]>

* feat(import) configurable client side file size (#603)

* feat(import) configurable client side file size

* refactor(auth) typo

* refactor(import) review

Co-authored-by: PE Lord <[email protected]>

* fix(spatial-filter): fix bug when _internal is not defined

* fix(pointer summary) Fix context change, summary was not shown. (#607)

* fix(pointer summary) Fix context change, summary was not shown.

* refactor(pointer summary) Add layer if not in list

Co-authored-by: PE Lord <[email protected]>

* feat(search results): manage focus/unfocus and select action on search results (and get feature info) (#585)

* feat/fix(search results): manage focus/unfocus and select action on search results (and get feature info)

* feat/fix(search results): manage focus/unfocus and select action on search results (and get feature info)

* lasts modifs on focus/unfocus/select search results

* feat/fix(search results): manage focus/unfocus and select action on search results (and get feature info)

* lasts modifs on focus/unfocus/select search results

* search results display lasts modfis

* lasts modifs

* feat/fix(search-results): manage focus/unfocus/select event on search results type + automatic scroll on keypad event

* fix(search-results-tool): fix lint problem

* fix(search-results): fix focused style and scroll with panel and display more results

Co-authored-by: Marc-André Barbeau <[email protected]>

* style(*): Group title emphasis opacity from 0.8 to 0.9 (#611)

* fix(query): fix Firefox and IE svg change bug (#610)

* chore(build): build warn ng-packagr  No name was provided for external module (#609)

* chore(*) build warn ng-packagr  No name was provided for external module '...' in output.globals – guessing '...'

* chore(*) combineLatest(a,b,c) deprecated

* ui(scale): better visibility on dark background

* feat(ogc-filter): Provide operator at the field scale (#608)

* feat(ogc-filter)Provide allowed operator at the field scale

* wip

* wip

* feat(ogc-filter) provide tooltip for operators

* wip

* wip

* wip

* i18n(geo locale) wip

Co-authored-by: Pierre-Étienne Lord <[email protected]>

* chore(*) warn ng-packagr No name was provided for external module (#612)

* i18n(geo locale) wip

* chore(*) warn ng-packagr No name was provided for external module

* chore(*) warn ng-packagr No name was provided for external module

* wip

* fix(context): queryable must be saved

* fix(context): queryable must be saved

* fix(queryFormat): fix layer's queryFormat htmlgml2 (#620)

* fix(queryFormat): fix HTMLGML2 query format

* WIP

* WIP

* feat(QueryService): Add create geom for mapTag when geom is null on extractData #617 (#618)

* fix(QueryService) : create geom when is null

* withdraw comment + add EX in query component

* withdraw comment

* restore demo

Co-authored-by: Josée Martel <[email protected]>

* fix(TimeFilter): calendar year range, don't reset year range in UI (igo2 #359) (#619)

* fix(timeFilter) bug #359

* fix(time-filter-form) withdraw comment

Co-authored-by: Josée Martel <[email protected]>

* fix(time-filter): fix UTC time, language and style on selected date (#621)

* WIP

* fix(time-filter)

* fix(time-filter)

* fix(network): connection message after leaving the tab on the phone (#614)

* feat(context-list): add context list tool (alpha, add context) (#624)

* feat(import-export): ajout de l'aggregation pour gpx (#623)

* fix(catalog): apply the regular expression on the isolated layers of the first level of the catalog (#599)

Co-authored-by: hbernard <[email protected]>

* feat import-export ajout de l'aggregation pour gpx

* correctif pour le pull request camelCase et anglais

* feat(layers): Enhanced table of content for layers management (#625)


Co-authored-by: Pierre-Étienne Lord <[email protected]>
Co-authored-by: Philippe <[email protected]>
Co-authored-by: PhilippeL <[email protected]>
Co-authored-by: Marc-André Barbeau <[email protected]>

* fix(layer): prevent empty map message to be shown too quickly

* fix(layer-list): fix baselayer with select all and opacity CSS (#632)

* fix(map): tracking fix (#629)

* fix tracking

* remove console.log

* fix(feature): excludeAttribute works with offlineButton (#628)

* fix(feature): excludeAttribute offline now works with the offline button

* remove extra

* using offlineButtonToggle$

* remove uselesss attribute

Co-authored-by: drekss <bovictor123>

* feat (import/export) : export naming  (#631)

* lint(import-export)

* feat(import): import cluster (#616)

* commit 03-13

* commit cluster style into import feature

Co-authored-by: drekss <bovictor123>

* locale(import): fix translate

* fix(layer-list): fix selection mode (#635)

* style(map-offline): remove console.log

* fix(map-legend) listen to layers modification (#636)

* fix(map-legend) listen to layers modification

* ui(map tools) increase the delay before allow empty layers to be shown

* fix(map-legend) Hide all non active legend when allowShowAllLegends is false (on context change) (#637)

* fix(map-legend) Hide all non active legend when allowShowAllLegends is false (on context change)

* refactor lint

* wip

* wip

* wip

* wip

* wip

* wip

* feat(layer sync) allow min/max resolution sync.

* wip

* travis

* feat(libs): upgrade librairies (#696)

* chore(utils): bowser version

* fix(spatial-filter): fix spatial filter 1.4 (#697)

* fix(layer-list-tool) alphaSort icon name tooltip (#700)

Co-authored-by: Josée Martel <[email protected]>

* feat(interactiveTour + welcomeWindows): add new component and service (#701)

* tour

* lint

* feat add noBackButton on step

Co-authored-by: Marc-André Barbeau <[email protected]>
Co-authored-by: Josée Martel <[email protected]>

* fix(layer-legend.component) Fix param legendOptions.display: false (#703)

* travis

* feat(libs): upgrade librairies (#696)

* chore(utils): bowser version

* fix(spatial-filter): fix spatial filter 1.4 (#697)

* fix bug legend param display:false

* fix exemple legend param

* rebase

Co-authored-by: Marc-André Barbeau <[email protected]>
Co-authored-by: Philippe Lafrenière <[email protected]>
Co-authored-by: Josée Martel <[email protected]>

* feat(entity-table): add pagination (#707)

* feat(entity-table) Pagination

* lint

* wip

* chore(build): build warn ng-packagr No name was provided for external module

* wip

* refactor(entity-table-paginator) refector individual input as options

* Update workspace.component.ts

* wip

* Update entity-table-paginator.component.html

* Update entity-table-paginator.component.ts

* fix(context-service) refer to issue #702 - message stored in base.json

* refactor(entity-table) translation and paginationOptions processing

* fix(entity-table)  deprecation warnint on event

* fix(entity-table) wrong last record used when clicking on a row (outside checkbox)

Co-authored-by: Marc-André Barbeau <[email protected]>

* feat(catalog): arcgis rest data catalog (#709)

* WIP

* WIP

* WIP

* WIP

* feat(catalog): Allow arcGISRest data catalog

* unnecessary changes

* fix(interactive-tour): css fix for interactive tour (#708)

* travis

* feat(libs): upgrade librairies (#696)

* chore(utils): bowser version

* fix(spatial-filter): fix spatial filter 1.4 (#697)

* fix(layer-list-tool) alphaSort icon name tooltip (#700)

Co-authored-by: Josée Martel <[email protected]>

* feat(interactiveTour + welcomeWindows): add new component and service (#701)

* tour

* lint

* feat add noBackButton on step

Co-authored-by: Marc-André Barbeau <[email protected]>
Co-authored-by: Josée Martel <[email protected]>

* fix(layer-legend.component) Fix param legendOptions.display: false (#703)

* travis

* feat(libs): upgrade librairies (#696)

* chore(utils): bowser version

* fix(spatial-filter): fix spatial filter 1.4 (#697)

* fix bug legend param display:false

* fix exemple legend param

* rebase

Co-authored-by: Marc-André Barbeau <[email protected]>
Co-authored-by: Philippe Lafrenière <[email protected]>
Co-authored-by: Josée Martel <[email protected]>

* feat(entity-table): add pagination (#707)

* feat(entity-table) Pagination

* lint

* wip

* chore(build): build warn ng-packagr No name was provided for external module

* wip

* refactor(entity-table-paginator) refector individual input as options

* Update workspace.component.ts

* wip

* Update entity-table-paginator.component.html

* Update entity-table-paginator.component.ts

* fix(context-service) refer to issue #702 - message stored in base.json

* refactor(entity-table) translation and paginationOptions processing

* fix(entity-table)  deprecation warnint on event

* fix(entity-table) wrong last record used when clicking on a row (outside checkbox)

Co-authored-by: Marc-André Barbeau <[email protected]>

* feat(catalog): arcgis rest data catalog (#709)

* WIP

* WIP

* WIP

* WIP

* feat(catalog): Allow arcGISRest data catalog

* unnecessary changes

* fix(interactive-tour): css fix for interactive tour (#708)

* feat(search-bar): can set appearance and map is optional

* wip

* wip

* feat(layer) linked layers could now be deleted simultaneously (syncedDelete)

* feat(mini-basemap) base layer could now have linked layers.

* wip

* merge diff

* wip zIndex

* wip

* wip

* feat(layer) sync layer displacement into the layer list

* feat(layer) time filter synchronisation between 2 layers

* refactor(layer) binded layers properties to enum

* wip

* wip

* feat(search-result) add a emphasis feature for line and poly too deep in view (#750)

* feat(search-result) add a emphasis feature for line and poly too deep in view

* wip

* feat(workspace) create a workspace on wms with wfsparams

* refactor(layer) Moving layer syn to a watcher

* wip

* refactor(workspace) refactor and some minor fix

* fix(workspace-button) presence/absence is now maintained by the current layer, not only if a workspace is available.

* wip

* wip

* refactor(icherche) lint

* refactor(wms-workspace) workspace disabled by default

* refactor(spatial-filter) prevent to create a workspace for zones

* refactor(spatial-filter) create a workspace for zone

* wip

* refactor(workspace) rename WorkspaceOptions to GeoWorkspaceOptions

* feat(*) allow to open export tool for wms with workspace

* feat(workspace) provide a default renderer for workspace column.

* wip

* wip

* i18n(workspace actions)

* fix(export-button) layers without the workspace options crash

Co-authored-by: Marc-André Barbeau <[email protected]>
Co-authored-by: Philippe Lafrenière <[email protected]>
Co-authored-by: PE Lord <[email protected]>
Co-authored-by: Déreck Lynch <[email protected]>
Co-authored-by: josee666 <[email protected]>
Co-authored-by: Josée Martel <[email protected]>
Co-authored-by: LavoieO <[email protected]>
Co-authored-by: Philippe <[email protected]>
Co-authored-by: PhilippeL <[email protected]>
Co-authored-by: Marc-André Barbeau <[email protected]>
  • Loading branch information
11 people authored Nov 3, 2020
1 parent 487fac2 commit 7e44659
Show file tree
Hide file tree
Showing 44 changed files with 953 additions and 206 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
<div *ngIf="mode === actionbarMode.Overlay">
<button class="buttonOverlay"
mat-icon-button
tooltip-position="below"
matTooltipShowDelay="500"
[matTooltip]="'igo.common.actionbar.icon' | translate"
[matMenuTriggerFor]="actionbarMenu"
[disabled]="store.view.empty"
[color]="iconColor">
Expand Down
3 changes: 2 additions & 1 deletion packages/common/src/locale/en.common.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
},
"actionbar": {
"scrollUp": "Scroll up",
"scrollDown": "Scroll down"
"scrollDown": "Scroll down",
"icon": "Action list"
},
"interactiveTour": {
"tooltipTourToolButton": "Interactive tour of the application",
Expand Down
3 changes: 2 additions & 1 deletion packages/common/src/locale/fr.common.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
},
"actionbar": {
"scrollUp": "Défiler vers le haut",
"scrollDown": "Défiler vers le bas"
"scrollDown": "Défiler vers le bas",
"icon": "Actions supplémentaires"
},
"interactiveTour": {
"tooltipTourToolButton": "Aide interactive sur l'outil",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,21 @@ import {
getFormatFromOptions,
defaultMaxFeatures
} from './wms-wfs.utils';
import { BehaviorSubject } from 'rxjs';
import { AuthInterceptor } from '@igo2/auth';

export class WFSDataSource extends DataSource {
public ol: olSourceVector;

set ogcFilters(value: OgcFiltersOptions) {
(this.options as OgcFilterableDataSourceOptions).ogcFilters = value;
}
get ogcFilters(): OgcFiltersOptions {
return (this.options as OgcFilterableDataSourceOptions).ogcFilters;
}

readonly ogcFilters$: BehaviorSubject<OgcFiltersOptions> = new BehaviorSubject(undefined);

constructor(
public options: WFSDataSourceOptions,
protected wfsService: WFSService,
Expand All @@ -39,6 +49,8 @@ export class WFSDataSource extends DataSource {
) {
this.wfsService.getSourceFieldsFromWFS(this.options);
}

this.setOgcFilters((this.options as OgcFilterableDataSourceOptions).ogcFilters, true);
}

protected createOlSource(): olSourceVector {
Expand Down Expand Up @@ -112,6 +124,13 @@ export class WFSDataSource extends DataSource {
xhr.send();
}

setOgcFilters(ogcFilters: OgcFiltersOptions, triggerEvent: boolean = false) {
this.ogcFilters = ogcFilters;
if (triggerEvent) {
this.ogcFilters$.next(this.ogcFilters);
}
}

private buildUrl(extent, proj: olProjection, ogcFilters: OgcFiltersOptions): string {
const paramsWFS = this.options.paramsWFS;
const queryStringValues = formatWFSQueryString(this.options, undefined, this.options.paramsWFS.srsName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { WMSDataSourceOptions } from './wms-datasource.interface';
import { WFSService } from './wfs.service';

import { OgcFilterWriter } from '../../../filter/shared/ogc-filter';
import { OgcFilterableDataSourceOptions } from '../../../filter/shared/ogc-filter.interface';
import { OgcFilterableDataSourceOptions, OgcFiltersOptions } from '../../../filter/shared/ogc-filter.interface';
import { QueryHtmlTarget } from '../../../query/shared/query.enums';
import {
formatWFSQueryString,
Expand All @@ -15,6 +15,8 @@ import {
} from './wms-wfs.utils';

import { ObjectUtils } from '@igo2/utils';
import { BehaviorSubject } from 'rxjs';
import { TimeFilterableDataSourceOptions, TimeFilterOptions } from '../../../filter/shared/time-filter.interface';

export class WMSDataSource extends DataSource {
public ol: olSourceImageWMS;
Expand All @@ -39,6 +41,23 @@ export class WMSDataSource extends DataSource {
: QueryHtmlTarget.BLANK;
}

set ogcFilters(value: OgcFiltersOptions) {
(this.options as OgcFilterableDataSourceOptions).ogcFilters = value;
}
get ogcFilters(): OgcFiltersOptions {
return (this.options as OgcFilterableDataSourceOptions).ogcFilters;
}

readonly ogcFilters$: BehaviorSubject<OgcFiltersOptions> = new BehaviorSubject(undefined);

set timeFilter(value: TimeFilterOptions ) {
(this.options as TimeFilterableDataSourceOptions).timeFilter = value;
}
get timeFilter(): TimeFilterOptions {
return (this.options as TimeFilterableDataSourceOptions).timeFilter;
}
readonly timeFilter$: BehaviorSubject<TimeFilterOptions> = new BehaviorSubject(undefined);

constructor(
public options: WMSDataSourceOptions,
protected wfsService: WFSService
Expand Down Expand Up @@ -121,6 +140,14 @@ export class WMSDataSource extends DataSource {
fieldNameGeometry
);
sourceParams.FILTER = filterQueryString;
this.setOgcFilters(initOgcFilters, true);

const timeFilterableDataSourceOptions = (options as TimeFilterableDataSourceOptions);
if (
timeFilterableDataSourceOptions?.timeFilterable &&
timeFilterableDataSourceOptions?.timeFilter) {
this.setTimeFilter(timeFilterableDataSourceOptions.timeFilter, true);
}
}

refresh() {
Expand All @@ -138,6 +165,20 @@ export class WMSDataSource extends DataSource {
return new olSourceImageWMS(this.options);
}

setOgcFilters(ogcFilters: OgcFiltersOptions, triggerEvent: boolean = false) {
this.ogcFilters = ogcFilters;
if (triggerEvent) {
this.ogcFilters$.next(this.ogcFilters);
}
}

setTimeFilter(timeFilter: TimeFilterOptions, triggerEvent: boolean = false) {
this.timeFilter = timeFilter;
if (triggerEvent) {
this.timeFilter$.next(this.timeFilter);
}
}

getLegend(style?: string, scale?: number): Legend[] {
let legend = super.getLegend();
if (legend.length > 0 && (style === undefined && !scale)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,6 @@ export class OgcFilterToggleButtonComponent implements OnInit {
// TODO: Check how to prevent wfs to refresh when filter icon is pushed...
this.datasource.ol.refresh();
}
this.refreshFilters();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ export class OgcFilterableItemComponent implements OnInit {
this.lastRunOgcFilter = undefined;
}
const ogcFilters: OgcFiltersOptions = this.datasource.options.ogcFilters;
const activeFilters = ogcFilters.interfaceOgcFilters.filter(
f => f.active === true
);
const activeFilters = ogcFilters.interfaceOgcFilters ?
ogcFilters.interfaceOgcFilters.filter(f => f.active === true) : [];
if (activeFilters.length === 0) {
ogcFilters.filters = undefined;
ogcFilters.filtered = false;
Expand Down Expand Up @@ -201,6 +200,7 @@ export class OgcFilterableItemComponent implements OnInit {
} else {
// identical filter. Nothing triggered
}
(this.layer.dataSource as OgcFilterableDataSource).setOgcFilters(ogcFilters, true);
}

public setVisible() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class OgcFilterableListBindingDirective implements OnInit, OnDestroy {
this.component.layers = [];

this.layers$$ = this.mapService.getMap().layers$.subscribe(layers => {
this.component.layers = layers;
this.component.layers = layers.filter(layer => layer.showInLayerList);
});
}

Expand Down
3 changes: 3 additions & 0 deletions packages/geo/src/lib/filter/shared/ogc-filter.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import olFormatFilter from 'ol/format/filter/Filter';
import { DataSource } from '../../datasource/shared/datasources/datasource';
import { DataSourceOptions } from '../../datasource/shared/datasources/datasource.interface';
import { OgcFilterOperatorType } from './ogc-filter.enum';
import { BehaviorSubject } from 'rxjs';

export interface OgcFilter extends olFormatFilter {}

Expand Down Expand Up @@ -83,6 +84,8 @@ export interface OgcFilterableDataSourceOptions extends DataSourceOptions {
}
export interface OgcFilterableDataSource extends DataSource {
options: OgcFilterableDataSourceOptions;
ogcFilters$?: BehaviorSubject<OgcFiltersOptions>;
setOgcFilters(ogcFilters: OgcFiltersOptions, triggerEvent?: boolean );
}

export interface IgoLogicalArrayOptions {
Expand Down
3 changes: 3 additions & 0 deletions packages/geo/src/lib/filter/shared/time-filter.interface.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { WMSDataSource } from '../../datasource/shared/datasources/wms-datasource';
import { WMSDataSourceOptions } from '../../datasource/shared/datasources/wms-datasource.interface';
import { TimeFilterType, TimeFilterStyle } from './time-filter.enum';
import { BehaviorSubject } from 'rxjs';

export interface TimeFilterOptions {
min?: string;
Expand All @@ -24,6 +25,8 @@ export interface TimeFilterableDataSourceOptions extends WMSDataSourceOptions {

export interface TimeFilterableDataSource extends WMSDataSource {
options: TimeFilterableDataSourceOptions;
timeFilter$: BehaviorSubject<TimeFilterOptions>;
setTimeFilter(ogcFilters: TimeFilterOptions, triggerEvent?: boolean );
filterByDate(date: Date | [Date, Date]);
filterByYear(year: string | [string, string]);
}
8 changes: 8 additions & 0 deletions packages/geo/src/lib/filter/shared/time-filter.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export class TimeFilterService {

const params = { TIME: time };
datasource.ol.updateParams(params);
if (datasource instanceof WMSDataSource) {
const wmsDataSource = datasource as WMSDataSource;
wmsDataSource.setTimeFilter(wmsDataSource.timeFilter, true);
}
}

filterByYear(
Expand Down Expand Up @@ -80,6 +84,10 @@ export class TimeFilterService {

const params = { TIME: time };
datasource.ol.updateParams(params);
if (datasource instanceof WMSDataSource) {
const wmsDataSource = datasource as WMSDataSource;
wmsDataSource.setTimeFilter(wmsDataSource.timeFilter, true);
}
}

private reformatDateTime(value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ export class ExportButtonComponent {
}

layerIsExportable(): boolean {
if ((this.layer instanceof VectorLayer && this.layer.exportable === true) ||
(this.layer.dataSource.options.download && this.layer.dataSource.options.download.url)) {
if (
(this.layer instanceof VectorLayer && this.layer.exportable === true) ||
(this.layer.dataSource.options.download && this.layer.dataSource.options.download.url) ||
(this.layer.options.workspace?.workspaceId !== this.layer.id)

) {
return true;
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h4 (click)="toggleLegendOnClick()" matLine class="igo-layer-title" [matTooltip]
matBadgePosition="after"
[matBadgeHidden]="queryBadgeHidden$ | async"
[ngClass]="{disabled: !(inResolutionRange$ | async)}"
[svgIcon]="layer.visible ? 'eye' : 'eye-off'">
[svgIcon]="(layer.visible$ | async) ? 'eye' : 'eye-off'">
</mat-icon>
</button>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
matTooltipShowDelay="500"
[matTooltip]="(sortAlpha || onlyVisible || keyword) ? ('igo.geo.layer.filterRaiseLayer' | translate) : ('igo.geo.layer.raiseLayer' | translate)"
[disabled]="raiseDisabled"
(click)="activeLayer.map.raiseLayer(activeLayer)">
(click)="moveActiveLayer(activeLayer,layerListDisplacement.Raise)">
<mat-icon [matBadge]="(sortAlpha || onlyVisible || keyword) ? '!' : ''" matBadgeColor="warn" matBadgeSize="medium" [matBadgeHidden]="raiseDisabled"
svgIcon="arrow-up"></mat-icon>
</button>
Expand All @@ -89,7 +89,7 @@
matTooltipShowDelay="500"
[matTooltip]="(sortAlpha || onlyVisible || keyword) ? ('igo.geo.layer.filterLowerLayer' | translate) : ('igo.geo.layer.lowerLayer' | translate)"
[disabled]="lowerDisabled"
(click)="activeLayer.map.lowerLayer(activeLayer)">
(click)="moveActiveLayer(activeLayer,layerListDisplacement.Lower)">
<mat-icon [matBadge]="(sortAlpha || onlyVisible || keyword) ? '!' : ''" matBadgeColor="warn" matBadgeSize="medium" [matBadgeHidden]="lowerDisabled"
svgIcon="arrow-down"></mat-icon>
</button>
Expand Down
Loading

0 comments on commit 7e44659

Please sign in to comment.