Skip to content

Commit

Permalink
feat(map-details-tool): add filter/download/metadata button on layer …
Browse files Browse the repository at this point in the history
…item
  • Loading branch information
mbarbeau committed Sep 20, 2018
1 parent 4bfb4ce commit 0d43226
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@
[excludeBaseLayers]="excludeBaseLayers"
[ogcFilterInLayerItem]="ogcFilterInLayerItem"
[toggleLegendOnVisibilityChange]="toggleLegendOnVisibilityChange">

<ng-template #igoLayerItemToolbar let-layer="layer">
<igo-ogc-filter-button [layer]="layer"></igo-ogc-filter-button>
<igo-download-button [layer]="layer"></igo-download-button>
<igo-metadata-button [layer]="layer"></igo-metadata-button>
</ng-template>

</igo-layer-list>

This file was deleted.

14 changes: 12 additions & 2 deletions projects/tools/src/lib/map-details-tool/map-details-tool.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@ import {
CUSTOM_ELEMENTS_SCHEMA
} from '@angular/core';

import { IgoLayerModule } from '@igo2/geo';
import {
IgoLayerModule,
IgoMetadataModule,
IgoDownloadModule,
IgoFilterModule
} from '@igo2/geo';
import { MapDetailsToolComponent } from './map-details-tool.component';

@NgModule({
imports: [IgoLayerModule],
imports: [
IgoLayerModule,
IgoMetadataModule,
IgoDownloadModule,
IgoFilterModule
],
declarations: [MapDetailsToolComponent],
exports: [MapDetailsToolComponent],
entryComponents: [MapDetailsToolComponent],
Expand Down

0 comments on commit 0d43226

Please sign in to comment.