Update heatmap.js to version 2.0 and leaflet-heatmap plugin to latest version.
Apply corresponding modifications to heatmap calculation logic according to new heatmap API.