Commit 4e73911b authored by VANDAELE Julien's avatar VANDAELE Julien
Browse files

add event to re-draw the map when team selector value changes

parent f549cf52
......@@ -151,6 +151,7 @@ window.onload = function() {
// whenever a user clicks on the ContainerWrapper the data will be regenerated -> new max & min
$('heatmapContainerWrapper').onclick = function() { getMeasures(); };
$('teamSelector').onchange = function() { getMeasures(); };
$("radiusSlider").onchange = function(){
value = document.getElementById("radiusSlider").value;
radius = Math.max(Math.floor(height/testbedheight),Math.floor(width/testbedwidth))*value;
......
Markdown is supported
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