Target Use Case
Currently it seems there is a no way to render a continous heatmap. Currently the HeatmapLayer can render individual points with optional weight only.
That is great for individual points like paying customers. Each customer has some "point" location with some weigh like spending.
But for "sampled area data" like temperature or population density, the values must be represented using interpolation.
Proposal
- compute "convex hull" [1]
- for each point in the hull (render pixel) calculate the heat using interpolation based on the nearest neighborhoods
[1] https://en.wikipedia.org/wiki/Convex_hull
Examples:
Point heatmap (already possible):
Continous heatmap (this feature request):
(in both cases the "heat" must stay between the points no matter the zoom level)