HeatmapPaint¶
Namespace: ThinkGeo.Core.Styling
The resolved paint of one heatmap style layer at one zoom.
public struct HeatmapPaint
Inheritance object → ValueType → HeatmapPaint
Remarks:
Radius and weight may be data-driven per the style spec, so they resolve through a feature-aware function like extrusion height does; intensity and opacity are zoom-only. The color ramp is not here: it never varies with zoom or feature, so it bakes once at compile time.
Properties¶
Radius¶
Gets the kernel radius in pixels (heatmap-radius, default 30).
public float Radius { get; }
Property Value¶
Intensity¶
Gets the global density multiplier (heatmap-intensity, default 1).
public float Intensity { get; }
Property Value¶
Opacity¶
Gets the layer opacity (heatmap-opacity, default 1).
public float Opacity { get; }
Property Value¶
Weight¶
Gets one point's density contribution (heatmap-weight, default 1).
public float Weight { get; }
Property Value¶
Constructors¶
HeatmapPaint(float, float, float, float)¶
Initializes a new instance of the HeatmapPaint struct.
HeatmapPaint(float radius, float intensity, float opacity, float weight)
Parameters¶
radius float
Kernel radius in pixels.
intensity float
Global multiplier on the accumulated density.
opacity float
Layer opacity, 0 to 1.
weight float
One point's contribution to the density.