- File:
-
- 1 edited
-
src/webapp/webclient/javascript/main.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/webclient/javascript/main.js
racea570 r5149714 28 28 29 29 function displayDataSet(data){ 30 if(!Array.isArray(data)){31 console.log("No data array returned!");32 return;33 }34 30 if(!("lastvalid" in data)){ 35 31 console.log("No last valid values given!"); … … 122 118 $(document).ready(function() { 123 119 displayDataGet(); 124 setInterval(displayDataGet, 15000);120 setInterval(displayDataGet, 5000); 125 121 126 122 $.getJSON("../webservice/tileserver.php?/map.json", mapSetup);
Note:
See TracChangeset
for help on using the changeset viewer.
