# 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

```ts
import type { HeatmapLayerDefinition } from "@mapcairn/core";
 
interface HeatmapLayerDefinition extends LayerDefinitionBase
```

## Properties

### emptyText

```ts
readonly emptyText: DefinitionText;
```

Shown when the feed has no points.

### heatmap

```ts
readonly heatmap: HeatmapSpec;
```

How the density is drawn.

### source

```ts
readonly source: FeedSource | QuerySource;
```

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

## See also

- [`LayerDefinitionBase`](https://docs.mapcairn.com/api/core/LayerDefinitionBase.md)
- [`DefinitionText`](https://docs.mapcairn.com/api/core/DefinitionText.md)
- [`HeatmapSpec`](https://docs.mapcairn.com/api/core/HeatmapSpec.md)
- [`FeedSource`](https://docs.mapcairn.com/api/core/FeedSource.md)
- [`QuerySource`](https://docs.mapcairn.com/api/core/QuerySource.md)

Source: [packages/core/src/layers/definition.ts:730](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/definition.ts#L730)
