MapHeatmapStyle
How a heatmap is drawn.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { MapHeatmapStyle } from "@mapcairn/core";
interface MapHeatmapStyle
Properties
intensity
readonly intensity: number;
Multiplies every point's weight.
opacity
readonly opacity: number;
From 0 to 1.
radius
readonly radius: number;
Pixels each point spreads over.
ramp
readonly ramp: readonly string[];
Hex colours from the lowest density to the highest. At least two.