Knit UI
GitHub

Playground

Loading playground…

Playground
<HeatmapLayer />

Examples

Density

A density heatmap from ~400 scattered points around Berlin.

Loading example…

DensitySourceStorybook

Radius And Intensity

Larger radius and higher intensity produce a softer, hotter bloom.

Loading example…

Radius And IntensitySourceStorybook

Custom Color Ramp

A custom heatmapColor ramp: transparent blue at low density rising through royal blue, lime and yellow to red at the hottest cores.

Loading example…

Custom Color RampSourceStorybook

Props

PropTypeDefaultDescription
afterIdstring | undefined——
beforeIdstring | undefined——
filterFilterSpecification | undefined——
idstring | undefined——
layerIndexnumber | undefined——
layoutRecord<string, unknown> | undefined——
maxzoomnumber | undefined——
minzoomnumber | undefined——
paintRecord<string, unknown> | undefined——
sourcestring | undefined——
source-layerstring | undefined——
sourceLayerstring | undefined——
styleHeatmapLayerStyle | undefined——
testIDstring | undefined——

Edit this page on GitHub