Skip to content

About

OpenLayers Heatmap Layer (using <canvas>)

Resources

Stars

11 stars

Watchers

2 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

11 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages