Skip to content

Commit

Permalink
Merge pull request Leaflet#28 from torfuspolymorphus/gh-pages
Browse files Browse the repository at this point in the history
Fix Leaflet#5 (incorrect intensity calculation)
  • Loading branch information
mourner committed Jun 30, 2015
2 parents 627ede7 + 40389a7 commit 4e22f7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/leaflet-heat.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/HeatLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ L.HeatLayer = (L.Layer ? L.Layer : L.Class).extend({
data.push([
Math.round(cell[0]),
Math.round(cell[1]),
Math.min(cell[2], 1)
Math.min(cell[2], this.options.max)
]);
}
}
Expand Down

0 comments on commit 4e22f7f

Please sign in to comment.