Commit fac643e8 authored by Antonella Giachino's avatar Antonella Giachino
Browse files

Fixed bug about refresh of cluster and heatmap

parent 45ee08cc
......@@ -274,6 +274,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// apply (filtered) data
var tmpLayer = $scope.getLayerByName(layerName);
if (!tmpLayer){
tmpLayer = {};
tmpLayer.isCluster = false;
tmpLayer.isHeatmap = false;
}
$scope.createLayerWithData(layerName, $scope.values[layerName], tmpLayer.isCluster, tmpLayer.isHeatmap);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment