Commit ead6de2a authored by VANDAELE Julien's avatar VANDAELE Julien
Browse files

add a 'refresh' button to re-do an HTTP request, instead of a click in the lightmap container

parent 4e73911b
......@@ -30,6 +30,7 @@
<input id="radiusSlider" type="range" min=1 max=20 name="radius"><br>
Change scale max value: <br>
<input id="maxlumSelector" type="integer" min=1 max=1000 name="maxlum"><br>
<input id="refreshButton" type="button" value="Refresh" />
</form>
</div>
<div id="heatmapLegend">
......@@ -150,7 +151,7 @@ window.onload = function() {
getMeasures();
// whenever a user clicks on the ContainerWrapper the data will be regenerated -> new max & min
$('heatmapContainerWrapper').onclick = function() { getMeasures(); };
$('refreshButton').onclick = function() { getMeasures(); };
$('teamSelector').onchange = function() { getMeasures(); };
$("radiusSlider").onchange = function(){
value = document.getElementById("radiusSlider").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