Interface: HeatmapPaint
Defined in: spec/types.ts:244
Properties
heatmapColors?
optionalheatmapColors?:string[] |HeatmapPaletteName
Defined in: spec/types.ts:269
Colours of the density ramp, from the lowest density to the highest — a list of at least two colours, or the name of a sequential palette. Zero density is always transparent. When omitted, MapLibre's own ramp (blue through red) is drawn.
heatmapIntensity?
optionalheatmapIntensity?:ZoomScaled
Defined in: spec/types.ts:257
Multiplier applied to each pixel's weight, fixed or by zoom. Default: 1.
heatmapOpacity?
optionalheatmapOpacity?:ZoomScaled
Defined in: spec/types.ts:255
Similar to circleOpacity — controls overall layer opacity, fixed or by
zoom. Fading it out by zoom hands over to a point layer at street level.
Default: 1.
heatmapRadius?
optionalheatmapRadius?:ZoomScaled
Defined in: spec/types.ts:249
Radius of influence of each data point, in pixels, fixed or by zoom. Default: 15.
heatmapWeight?
optionalheatmapWeight?:number|HeatmapWeightBy
Defined in: spec/types.ts:262
Individual data point contribution weight: a number for every point, or a HeatmapWeightBy to read it from a feature property. Default: 1.