UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

28 lines (27 loc) 949 B
import GirafeHTMLElement from '../../base/GirafeHTMLElement.js'; declare class OfflineComponent extends GirafeHTMLElement { protected templateUrl: string | null; protected styleUrls: string[] | null; template: () => import("uhtml").Hole; protected downloadInProgress: boolean; protected downloadProgressValue: number; protected downloadStartZoom?: number; protected downloadEndZoom?: number; totalOfflineDataSizeMB: number; constructor(); registerEvents(): void; updateTotalSizeMB(): Promise<void>; exportData(): void; /** * Gets the list of all active WMTS layers */ private getAllWmtsLayers; /** * layersList is a tree, walk recursively to find the active WMTS leaf */ private getActiveWmtsLayersRecursive; progressCallback(progress: number): void; protected connectedCallback(): void; clearStores(): Promise<void>; } export default OfflineComponent;