Skip to main content

VectorHeatmapLayer

One layer of a vector tile source whose points are drawn as a heatmap.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { VectorHeatmapLayer } from "@mapcairn/core";

interface VectorHeatmapLayer

Properties​

heatmap​

readonly heatmap: HeatmapSpec;

How the density is drawn.

maxzoom​

readonly maxzoom?: number;

The normalised zoom from which the layer is hidden.

minzoom​

readonly minzoom?: number;

The lowest normalised zoom at which the layer is drawn.

sourceLayer​

readonly sourceLayer: string;

The layer's name inside the tiles.

See also​

Source: packages/core/src/layers/definition.ts:755