# heatmapSettings

A heatmap's radius in pixels and intensity, from fixed numbers or the layer's controls.

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

## Signature

```ts
import { heatmapSettings } from "@mapcairn/core";
 
function heatmapSettings(spec: HeatmapSpec, controls: ControlValues): {
    readonly radius: number;
    readonly intensity: number;
};
```

## Parameters

- `spec` (`HeatmapSpec`)
- `controls` (`ControlValues`)

## Returns

`{
    readonly radius: number;
    readonly intensity: number;
}`

## See also

- [`HeatmapSpec`](https://docs.mapcairn.com/api/core/HeatmapSpec.md)
- [`ControlValues`](https://docs.mapcairn.com/api/core/ControlValues.md)

Source: [packages/core/src/layers/heatmap.ts:28](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/heatmap.ts#L28)
