Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
salivian committed Jan 27, 2020
1 parent 476e0a9 commit 7c31655
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions web/src/Nanocube/Heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ var Heatmap=function(opts,getDataCallback,updateCallback){
this._range = opts.range || undefined;
}




//add Legend
if (opts.legend){
Expand Down Expand Up @@ -192,12 +190,10 @@ Heatmap.prototype = {

//layer control
if (Object.keys(this._heatmaps).length > 1){
L.control.layers(null,this._heapmaps,
{
collapsed: false,
position: 'bottomright'
})
.addTo(map);
L.control.layers(null,this._heatmaps,{
collapsed: false,
position: 'bottomright'
}).addTo(map);
}

map.on('overlayadd', function (e) {
Expand Down

0 comments on commit 7c31655

Please sign in to comment.