Skip to main content

HeatmapLayerDefinition

Point density from a feed or a query, drawn as a heatmap. It has no cards or list: the status says how many points are drawn and the legend says what the colours mean.

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

Signature​

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

interface HeatmapLayerDefinition extends LayerDefinitionBase

Properties​

emptyText​

readonly emptyText: DefinitionText;

Shown when the feed has no points.

heatmap​

readonly heatmap: HeatmapSpec;

How the density is drawn.

source​

readonly source: FeedSource | QuerySource;

Where the points come from: a whole feed or a query over the view.

See also​

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