A tutorial on Prototype, Google Maps API and the HeatMapAPI
Written by on July 17th, 2008 in Uncategorized.

Jeffrey Barke has written up a tutorial detailing how to create a density map with Prototype, the Google Maps API and the HeatMapAPI.
The heat map API looks cool indeed, and that piece of code looks simple:
JAVASCRIPT:
-
-
addHeatMap: function() {
-
var heatMap = new GEOHeatmap();
-
heatMap.Init(this.width, this.height);
-
heatMap.SetData(this.data);
-
var preUrl = heatMap.GetURL();
-
var heatmapOverlay = new HMGoogleOverlay(preUrl);
-
this.map.addOverlay(heatmapOverlay);
-
}
-
Source: Ajaxian » Front Page
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/337975278/a-tutorial-on-prototype-google-maps-api-and-the-heatmapapi