Skip to content

Commit

Permalink
Corrected bug on initialization so that data can be loaded in runtime.
Browse files Browse the repository at this point in the history
  • Loading branch information
ffleandro committed Sep 3, 2012
1 parent 5804084 commit 3405a66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/heatmap-leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
max: 0,
bounds: {}
};

this._data = [];

this.drawTile = function (tile, tilePoint, zoom) {
var ctx = {
Expand Down

0 comments on commit 3405a66

Please sign in to comment.