Weighted density on the High Command map: demand glows in the accent, exceptions warm from at risk to late; fades out by a zoom you set.
$ npx shadcn@latest add @highcommand/heatmapCopies the source into your project and pulls in what it needs (4 other items). First time? Add the registry to components.json.
Density on the High Command map: where deliveries bunch, where vans sit idle, where demand is.
pointsrequiredreadonly HeatPoint[]—Weighted points (weight defaults to 1) the density is built from.
tone'demand' | 'exceptions''demand'`demand` glows in the accent; `exceptions` warms from at risk to late (default demand).
maxWeightnumber—The weight that reads as full intensity. Default the largest in `points`.
radius[number, number][14, 36]Blur radius in px at zoom 9 and 15.
maxzoomnumber16Gone from this zoom on. Default 16.
opacitynumber0.85Peak heat opacity, 0..1, fading to 0 by `maxzoom` (default 0.85).