@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
8 lines (7 loc) • 381 B
TypeScript
import type LayerWms from '../../../models/layers/layerwms.js';
import type LayerWmts from '../../../models/layers/layerwmts.js';
/**
* Determines if a layer is visible based on its opacity and print resolution.
* @returns true if the layer is visible, otherwise false.
*/
export declare const isLayerVisible: (layer: LayerWms | LayerWmts, printResolution?: number) => boolean;