diff --git a/src/HeatLayer.js b/src/HeatLayer.js index 455df17..d0e7cdc 100644 --- a/src/HeatLayer.js +++ b/src/HeatLayer.js @@ -145,7 +145,7 @@ L.HeatLayer = (L.Layer ? L.Layer : L.Class).extend({ var alt = this._latlngs[i].alt !== undefined ? this._latlngs[i].alt : this._latlngs[i][2] !== undefined ? +this._latlngs[i][2] : 1; - k = alt * v; + k = alt; grid[y] = grid[y] || []; cell = grid[y][x];