diff --git a/packages/common/icon/src/shared/icons.ts b/packages/common/icon/src/shared/icons.ts index 3d3287222..30b6fb20c 100644 --- a/packages/common/icon/src/shared/icons.ts +++ b/packages/common/icon/src/shared/icons.ts @@ -3,12 +3,6 @@ import { IconSvg } from './icon.interface'; /** * Source: https://pictogrammers.com/library/mdi/ */ -export const MAGNIFY_SCAN_ICON: IconSvg = { - name: 'magnify-scan', - svg: ` - magnify-scan -` -}; export const MICROSOFT_ICON: IconSvg = { name: 'microsoft', @@ -42,9 +36,3 @@ export const PRESENTATION_PLAY_ICON: IconSvg = { name: 'presentation-play', svg: `presentation-play` }; - - -export const LAYER_PLUS_ICON: IconSvg = { - name: 'layers-plus', - svg: `layers-plus` -}; diff --git a/packages/geo/src/lib/catalog/catalog-library/catalog-library.component.html b/packages/geo/src/lib/catalog/catalog-library/catalog-library.component.html index 60877a850..cf2086c41 100644 --- a/packages/geo/src/lib/catalog/catalog-library/catalog-library.component.html +++ b/packages/geo/src/lib/catalog/catalog-library/catalog-library.component.html @@ -21,6 +21,6 @@ (click)="addCatalogDialog()" > {{ 'igo.geo.catalog.library.addBtn' | translate }} - + library_add diff --git a/packages/geo/src/lib/catalog/catalog-library/catalog-library.component.ts b/packages/geo/src/lib/catalog/catalog-library/catalog-library.component.ts index 773b4ab15..253f1825e 100644 --- a/packages/geo/src/lib/catalog/catalog-library/catalog-library.component.ts +++ b/packages/geo/src/lib/catalog/catalog-library/catalog-library.component.ts @@ -14,7 +14,6 @@ import { MatIconModule } from '@angular/material/icon'; import { MatTooltipModule } from '@angular/material/tooltip'; import { EntityStore } from '@igo2/common/entity'; -import { IconService, LAYER_PLUS_ICON } from '@igo2/common/icon'; import { ListComponent, ListItemDirective } from '@igo2/common/list'; import { IgoLanguageModule } from '@igo2/core/language'; import { MessageService } from '@igo2/core/message'; @@ -85,8 +84,6 @@ export class CatalogLibaryComponent implements OnInit, OnDestroy { submitDisabled = true; - layerPlusIcon = LAYER_PLUS_ICON; - private addingCatalog$$: Subscription; get addedCatalogs(): Catalog[] { @@ -107,11 +104,8 @@ export class CatalogLibaryComponent implements OnInit, OnDestroy { private capabilitiesService: CapabilitiesService, private messageService: MessageService, private storageService: StorageService, - private dialog: MatDialog, - private iconService: IconService - ) { - this.iconService.registerSvg(this.layerPlusIcon); - } + private dialog: MatDialog + ) {} /** * @internal diff --git a/packages/geo/src/lib/layer/layer-list/layer-list.component.html b/packages/geo/src/lib/layer/layer-list/layer-list.component.html index 5f56728b9..24c7dec43 100644 --- a/packages/geo/src/lib/layer/layer-list/layer-list.component.html +++ b/packages/geo/src/lib/layer/layer-list/layer-list.component.html @@ -176,11 +176,9 @@ [matTooltip]="'igo.geo.layer.zoomLayer' | translate" (click)="zoomLayerExtents(activeLayer)" > - + frame_inspect - + frame_inspect diff --git a/packages/geo/src/lib/layer/layer-list/layer-list.component.ts b/packages/geo/src/lib/layer/layer-list/layer-list.component.ts index d89ade37d..8c2cf1241 100644 --- a/packages/geo/src/lib/layer/layer-list/layer-list.component.ts +++ b/packages/geo/src/lib/layer/layer-list/layer-list.component.ts @@ -22,7 +22,6 @@ import { MatMenuModule } from '@angular/material/menu'; import { MatSliderChange, MatSliderModule } from '@angular/material/slider'; import { MatTooltipModule } from '@angular/material/tooltip'; -import { IconService, IconSvg, MAGNIFY_SCAN_ICON } from '@igo2/common/icon'; import { ListComponent, ListItemDirective } from '@igo2/common/list'; import { PanelComponent } from '@igo2/common/panel'; import { IgoLanguageModule } from '@igo2/core/language'; @@ -270,14 +269,8 @@ export class LayerListComponent implements OnInit, OnDestroy { public selectAllCheck: boolean; public selectAllCheck$ = new BehaviorSubject(undefined); private selectAllCheck$$: Subscription; - magnifyIcon: IconSvg = MAGNIFY_SCAN_ICON; - constructor( - private elRef: ElementRef, - private iconService: IconService - ) { - this.iconService.registerSvg(this.magnifyIcon); - } + constructor(private elRef: ElementRef) {} /** * Subscribe to the search term stream and trigger researches diff --git a/packages/integration/src/lib/catalog/catalog-library-tool/catalog-library-tool.component.ts b/packages/integration/src/lib/catalog/catalog-library-tool/catalog-library-tool.component.ts index 890b37e63..b4fa6763d 100644 --- a/packages/integration/src/lib/catalog/catalog-library-tool/catalog-library-tool.component.ts +++ b/packages/integration/src/lib/catalog/catalog-library-tool/catalog-library-tool.component.ts @@ -6,7 +6,6 @@ import { } from '@angular/core'; import { EntityStore } from '@igo2/common/entity'; -import { LAYER_PLUS_ICON } from '@igo2/common/icon'; import { ToolComponent } from '@igo2/common/tool'; import { StorageScope, StorageService } from '@igo2/core/storage'; import { Catalog, CatalogLibaryComponent, CatalogService } from '@igo2/geo'; @@ -22,7 +21,7 @@ import { CatalogState } from '../catalog.state'; @ToolComponent({ name: 'catalog', title: 'igo.integration.tools.catalog', - icon: LAYER_PLUS_ICON + icon: 'library_add' }) @Component({ selector: 'igo-catalog-library-tool', diff --git a/packages/integration/src/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.html b/packages/integration/src/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.html index a3b3fa791..1ecec452e 100644 --- a/packages/integration/src/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.html +++ b/packages/integration/src/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.html @@ -59,7 +59,7 @@ - + library_add - - - - - + search - - - - - + library_add - - - - - + star - - - + search - - - + library_add - - - + star - - - - - + search - - - - - + library_add - - - - - + star