Commit 7925fcd9 authored by VANDAELE Julien's avatar VANDAELE Julien
Browse files

add auto-refresh behavior of the map page

Since serial-aggregation data consumption is used, we need to refresh the data displayed
parent 69534620
......@@ -148,7 +148,7 @@ window.onload = function() {
console.log('took ', (+new Date) - init, 'ms');
};
// initial generate
updateMeasures();
setInterval(updateMeasures, 100);
// whenever a user clicks on the ContainerWrapper the data will be regenerated -> new max & min
$('refreshButton').onclick = function() { updateMeasures(); };
......
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