Skip to content
Snippets Groups Projects
Commit 0fbb20bd authored by Winnie's avatar Winnie
Browse files

Flxes

parent 6cff23ac
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@
<section id="outputIn">
<%--Map and Histogram must have the same name for default checkbox to function correctly--%>
Cluster Size:
<input type="number" id="pickSize" value="clusterSize" >
<input type="number" id="pickSize" >
<input type="radio" name="pickOutput" value="cluster" > Cluster
<input type="radio" name="pickOutput" value="map"> Map
<input type="radio" name="pickOutput" value="heat"> Heatmap
......
......@@ -256,8 +256,8 @@ function callOutput(){
taxGroup = getTaxGroup();
yearFrom = $( "#slider-range" ).slider( "values", 0 );
yearTo = $( "#slider-range" ).slider( "values", 1 );
clusterSize = document.getElementById("pickSize");
clusterSize = document.getElementById("pickSize").value;
console.log("Cs: " + clusterSize);
var params= JSON.stringify({taxId: Number(taxGroup), yearF: Number(yearFrom), yearT: Number(yearTo), area: Number(clusterSize)});
//Switch Output Display
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment