pa7/heatmap.js — pull request #11 by lelag (2011-12-19 10:12:56+00:00)
Title: Bug fix : take into account Pixel offset when main layer has moved on setDataSet

This fix an issue when resetting DataSets on an existing Layer if the main OpenLayers map is not centered on origin.

If you set up a heatmap, on a base layer, move the map and reset the dataset, the position of the heatmap point would be off by the difference in Pixel distance from the new center of the map and the original center.

This might not be the best way to deal with this issue but it appears to work.

Best Regards,

Le Lag.