So far, you have created a heatmap that showed you the current density of points and intensities, but what if you wanted to show a heatmap that changed over time? In this last example, you will learn how to create a heatmap animation.
Reference the heatmap plugin:
Next, separate your data into an array per time period. Name your data with the same name, plus a number that increments the number based on the time period. The following code can be used for this purpose:
var points1=[[35,-106],[35,-106]]; var points2=[[35.10418, -106.62987],[32,-104]]; var points4...