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>)
- Host: GitHub
- URL: https://github.com/hoehrmann/openlayers-heatmap
- Owner: hoehrmann
- Created: 2012-01-09T16:13:12.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-06-17T23:37:39.000Z (over 13 years ago)
- Last Synced: 2024-04-17T21:16:53.889Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://www.websitedev.de/temp/openlayers-heatmap-layer.html
- Size: 88.9 KB
- Stars: 12
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README
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).