heatmap.js
heatmap.js copied to clipboard
Calculate the area that the heatmap occupy?
Is it possible to calculate the area that the heatmap occupy? Also, the radius value, what is the measurement unit, is it pixel?
Area can be easily calculated by using the lat ,lng information of the related locations.
@SerhanBent Do you know what the measurement unit the 'radius' use in the configuration?
It is pixels, yes but as you can easily understand you should multiply its value by 2 to get the exact pixel value of its diameter. (2r) For example when you assign 10 for the radius. Its width will be 20 pixels.