An open API service indexing awesome lists of open source software.

https://github.com/hoehrmann/openlayers-heatmap

OpenLayers Heatmap Layer (using <canvas>)
https://github.com/hoehrmann/openlayers-heatmap

Last synced: 7 months ago
JSON representation

OpenLayers Heatmap Layer (using <canvas>)

Awesome Lists containing this project

README

          

Name

OpenLayers Heatmap Layer (using )

Synopsis

var heat = new Heatmap.Layer("Heatmap");
heat.addSource(new Heatmap.Source(new OpenLayers.LonLat(9.434, 54.740)));
heat.addSource(new Heatmap.Source(new OpenLayers.LonLat(9.833, 54.219)));
...
map.addLayer(heat);
map.zoomToExtent(heat.getDataExtent());

Live Example

http://www.websitedev.de/temp/openlayers-heatmap-layer.html

Bugs

https://github.com/openlayers/openlayers/issues/534 is an OpenLayers bug.
To work around it, call, e.g., map.moveTo(1,1) before map.addLayer(heat).