@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
8 lines (7 loc) • 375 B
TypeScript
import type LayerWms from '../../../models/layers/layerwms';
import type LayerWmts from '../../../models/layers/layerwmts';
/**
* 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;