Demonstrates the use of a heatmap layer.
This example parses a KML file and renders the features as a ol.layer.Heatmap layer.
ol.layer.Heatmap
See the heatmap-earthquakes.js source to see how this is done.