From b1083e849ee5f1f82aea1317617500a54a7702df Mon Sep 17 00:00:00 2001
From: PhilippeLafreniere18
<53181414+PhilippeLafreniere18@users.noreply.github.com>
Date: Tue, 30 Jul 2019 13:32:08 -0400
Subject: [PATCH] feat(catalog): add metadata button (#377)
---
.../catalog-browser/catalog-browser-layer.component.html | 5 ++++-
.../lib/catalog/catalog-browser/catalog-browser.module.ts | 4 +++-
packages/geo/src/lib/catalog/shared/catalog.interface.ts | 5 +++--
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/packages/geo/src/lib/catalog/catalog-browser/catalog-browser-layer.component.html b/packages/geo/src/lib/catalog/catalog-browser/catalog-browser-layer.component.html
index cae32eddb9..38b997d72a 100644
--- a/packages/geo/src/lib/catalog/catalog-browser/catalog-browser-layer.component.html
+++ b/packages/geo/src/lib/catalog/catalog-browser/catalog-browser-layer.component.html
@@ -1,7 +1,9 @@
{{title}}
-
+
+
+
+
diff --git a/packages/geo/src/lib/catalog/catalog-browser/catalog-browser.module.ts b/packages/geo/src/lib/catalog/catalog-browser/catalog-browser.module.ts
index d66b5bf7b6..7b476fb7f6 100644
--- a/packages/geo/src/lib/catalog/catalog-browser/catalog-browser.module.ts
+++ b/packages/geo/src/lib/catalog/catalog-browser/catalog-browser.module.ts
@@ -14,6 +14,7 @@ import {
IgoListModule
} from '@igo2/common';
+import { IgoMetadataModule } from './../../metadata/metadata.module';
import { CatalogBrowserComponent } from './catalog-browser.component';
import { CatalogBrowserLayerComponent } from './catalog-browser-layer.component';
import { CatalogBrowserGroupComponent } from './catalog-browser-group.component';
@@ -30,7 +31,8 @@ import { CatalogBrowserGroupComponent } from './catalog-browser-group.component'
MatTooltipModule,
IgoLanguageModule,
IgoListModule,
- IgoCollapsibleModule
+ IgoCollapsibleModule,
+ IgoMetadataModule
],
exports: [
CatalogBrowserComponent
diff --git a/packages/geo/src/lib/catalog/shared/catalog.interface.ts b/packages/geo/src/lib/catalog/shared/catalog.interface.ts
index cd13accfec..ec1c40cf09 100644
--- a/packages/geo/src/lib/catalog/shared/catalog.interface.ts
+++ b/packages/geo/src/lib/catalog/shared/catalog.interface.ts
@@ -1,6 +1,7 @@
import { EntityState } from '@igo2/common';
-import { LayerOptions, TooltipType } from '../../layer';
+import { MetadataLayerOptions } from './../../metadata/shared/metadata.interface';
+import { TooltipType } from '../../layer';
import { TimeFilterOptions } from '../../filter';
import { QueryFormat, QueryHtmlTarget } from '../../query';
@@ -33,7 +34,7 @@ export interface CatalogItem {
type: CatalogItemType;
}
-export interface CatalogItemLayer extends CatalogItem {
+export interface CatalogItemLayer extends CatalogItem {
options: L;
}