Interface HeatmapRendererDescriptorExperimental

Serializable heatmap descriptor.

interface HeatmapRendererDescriptor {
    colorRamp?: readonly string[] | readonly HeatmapColorStop[];
    intensity?: number;
    kind: "heatmap";
    opacity?: number;
    radius?: number;
    weightField?: string;
}

Hierarchy (view full)

Properties

colorRamp?: readonly string[] | readonly HeatmapColorStop[]

Density → color ramp. Either explicit stops or a color list spread evenly across 0..1 (the first color should usually be transparent).

intensity?: number

Global intensity multiplier.

1
kind
opacity?: number

Layer opacity (0..1).

radius?: number

Kernel radius in pixels.

30
weightField?: string

Numeric property weighting each point (defaults to weight 1).