Heatmap layer custom radius (heatmap helper)
This example shows how to add a heatmap layer to the map by utilizing the heatmap layer helper, along with a customized zoom-ramping radius. You can access the sample data by downloading the US schools example data.
The radius, which can be adjusted based on custom properties, is also internally adjusted in conjunction with zoom values.
Related examples
An extension of MapLibre GL JS