Permalink
Browse files

Merge pull request #18 from bozdoz/patch-1

Remove data when cleared
  • Loading branch information...
2 parents c85d1fc + 943d266 commit c3b4822bdb06d23a6b40ae0cfb0b0d096e744379 @sunng87 committed Mar 7, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 heatcanvas-leaflet.js
View
@@ -107,6 +107,7 @@ L.TileLayer.HeatCanvas = L.Class.extend({
clear: function(){
this.heatmap.clear();
+ this.data = [];
},
redraw: function(){

0 comments on commit c3b4822

Please sign in to comment.