VectorTileLayerDefinition
A vector tile layer: one source, drawn from one or more of its source layers, each with its own style and zoom window. The window of the whole layer is the widest any source layer needs.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { VectorTileLayerDefinition } from "@mapcairn/core";
interface VectorTileLayerDefinition extends LayerDefinitionBase
Properties
maxzoom
readonly maxzoom?: number;
The normalised zoom from which the layer is hidden.
minzoom
readonly minzoom?: number;
The layer is visible from minzoom up to, but not including, maxzoom (normalised zoom levels), as the engine hides a layer from its maxzoom.
source
readonly source: VectorTileSource;
Where the vector tiles come from.
sourceLayers
readonly sourceLayers: readonly VectorSourceLayer[];
The layers of the tiles that are drawn, each with its own style and zoom window.