UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

25 lines (24 loc) 748 B
import BaseLayer from './baselayer.js'; import { Coordinate } from 'ol/coordinate.js'; export type ThemeLayerOptions = { isDefaultChecked?: boolean; disclaimer?: string; metadataUrl?: string; isDefaultExpanded?: boolean; isExclusiveTheme?: boolean; }; declare class ThemeLayer extends BaseLayer { isExclusiveTheme: boolean; isExpanded: boolean; activeState: 'on' | 'off' | 'semi'; icon?: string; location?: Coordinate; zoom?: number; children: BaseLayer[]; constructor(id: number, name: string, order: number, icon?: string, options?: ThemeLayerOptions); clone(): ThemeLayer; get active(): boolean; get inactive(): boolean; get semiActive(): boolean; } export default ThemeLayer;