Skip to content

hoehrmann/openlayers-heatmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Name

  OpenLayers Heatmap Layer (using <canvas>)

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

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

About

OpenLayers Heatmap Layer (using <canvas>)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published