Changeset 587 in tmcsimulator for branches/realtime_VDS/cptms/js/vdsLayer.js
- Timestamp:
- 03/10/2020 09:32:13 AM (6 years ago)
- File:
-
- 1 edited
-
branches/realtime_VDS/cptms/js/vdsLayer.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/realtime_VDS/cptms/js/vdsLayer.js
r585 r587 173 173 // if fetch is a success, display live img 174 174 if (success) { 175 console.log(live);175 //console.log(live); 176 176 if (map.controls[google.maps.ControlPosition.TOP_RIGHT].getLength() > 0) 177 177 map.controls[google.maps.ControlPosition.TOP_RIGHT].pop(); … … 180 180 // if error, display sad smiley image 181 181 else { 182 console.log(notLive);182 //console.log(notLive); 183 183 if (map.controls[google.maps.ControlPosition.TOP_RIGHT].getLength() > 0) 184 184 map.controls[google.maps.ControlPosition.TOP_RIGHT].pop(); … … 191 191 { 192 192 var rawFile = new XMLHttpRequest(); 193 rawFile.open("GET", lastFetchFile, false);193 rawFile.open("GET", lastFetchFile, true); 194 194 rawFile.onreadystatechange = function () 195 195 {
Note: See TracChangeset
for help on using the changeset viewer.
