From 7c3165525d97ff5b1ae05f8dd6479a40c3f8185e Mon Sep 17 00:00:00 2001 From: Horace Date: Mon, 27 Jan 2020 14:38:06 -0500 Subject: [PATCH] fixed a typo --- web/src/Nanocube/Heatmap.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/web/src/Nanocube/Heatmap.js b/web/src/Nanocube/Heatmap.js index 95c4072..3febd8d 100644 --- a/web/src/Nanocube/Heatmap.js +++ b/web/src/Nanocube/Heatmap.js @@ -72,8 +72,6 @@ var Heatmap=function(opts,getDataCallback,updateCallback){ this._range = opts.range || undefined; } - - //add Legend if (opts.legend){ @@ -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) {