HeatmapPaint

data class HeatmapPaint(var color: StyleValue<Color> = defaultHeatmapColor(), var intensity: StyleValue<Double> = StyleValue.Constant(1.0), var radius: StyleValue<Double> = StyleValue.Constant(10.0), var weight: StyleValue<Double> = StyleValue.Constant(1.0), var blur: StyleValue<Double> = StyleValue.Constant(1.0)) : Paint

Heatmap kernel styling (Mapbox heatmap-*). Used by HeatmapLayerPaint.

Constructors

Link copied to clipboard
constructor(color: StyleValue<Color> = defaultHeatmapColor(), intensity: StyleValue<Double> = StyleValue.Constant(1.0), radius: StyleValue<Double> = StyleValue.Constant(10.0), weight: StyleValue<Double> = StyleValue.Constant(1.0), blur: StyleValue<Double> = StyleValue.Constant(1.0))

Properties

Link copied to clipboard

How much to fade out the edges of each point based on its radius (Apple/JS heatmap.blur). Default 1.0 matches Apple 1.7.0. GLES uses this as the separable blur spread multiplier.

Link copied to clipboard

Color ramp vs heatmap density (heatmap-color).

Link copied to clipboard

Apple/JS default 1.

Link copied to clipboard

Apple/JS default 10.

Link copied to clipboard

Apple/JS default 1.