import { OnInit, OnDestroy } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { EntityStore } from '@ximple/igo2-common'; import { IgoMap, Catalog, CatalogItem, CatalogItemState, CatalogService } from '@ximple/igo2-geo'; import { MapState } from '../../map/map.state'; import { CatalogState } from '../catalog.state'; /** * Tool to browse a catalog's groups and layers and display them to a map. */ export declare class CatalogBrowserToolComponent implements OnInit, OnDestroy { private catalogService; private catalogState; private mapState; catalog: Catalog; /** * Store that contains the catalog items * @internal */ store$: BehaviorSubject>; /** * Subscription to the selected catalog */ private catalog$$; /** * Whether a group can be toggled when it's collapsed */ toggleCollapsedGroup: boolean; /** * Map to add layers to * @internal */ readonly map: IgoMap; constructor(catalogService: CatalogService, catalogState: CatalogState, mapState: MapState); /** * @internal */ ngOnInit(): void; /** * @internal */ ngOnDestroy(): void; /** * Get the selected catalog's items from the CatalogService and * load them into the store. * @param catalog Selected catalog */ private loadCatalogItems; }