import { Component , EventEmitter , Input , Output } from '@angular/core' ; import { HsUrlWmsService } from '../../../url/wms/wms.service' ; @ Component ( { selector : 'hs-nested-layers-table' , templateUrl : './nested-layers-table.component.html' , } ) export class HsNestedLayersTableComponent { @ Input ( ) layers ; @ Output ( ) layerChecked = new EventEmitter < string > ( ) ; constructor ( public hsUrlWmsService ) { } checked ( layer ) { this . layerChecked . emit ( layer ) ; } isArray ( maybeArray ) { return Array . isArray ( maybeArray ) ; } }