Skip to main content

emptyLayerCatalogue

The LayerCatalogue for a host that supplies no data layers, so the sheet's Layers section stays hidden. Ready with no layers, frozen and never changing, so one instance can be shared safely; a host with layers supplies its own catalogue.

This is a constant exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { emptyLayerCatalogue } from "@mapcairn/core";

emptyLayerCatalogue: LayerCatalogue

See also​

Source: packages/core/src/layers/emptyLayerCatalogue.ts:12