Changeset 585 in tmcsimulator for branches/realtime_VDS/cptms/index.html
- Timestamp:
- 03/08/2020 02:15:25 PM (6 years ago)
- File:
-
- 1 edited
-
branches/realtime_VDS/cptms/index.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/realtime_VDS/cptms/index.html
r584 r585 149 149 var kCCTVfile = "data_layers/cctv_locations_D12.gjson"; // CCTV locations 150 150 var kHARfile = "data_layers/har_locations_D12.gjson"; // CMS locations 151 var lastFetchFile = "last_fetch_time.txt"; 152 var fetchInterval = 15; 153 var liveImage = "images/live.svg" 151 154 var iconCMSactive = "images/icon_cms_active.png"; 152 155 var iconCMSidle = "images/icon_cms_idle.png"; … … 200 203 initVDSbutton(); 201 204 initVDSicons(); 205 checkLastFetch(); 202 206 } 203 207 … … 235 239 var harTimer = setInterval(loadAllharMessages, 10000); 236 240 241 var fetchTimer = setInterval(checkLastFetch, 10000); 242 237 243 // Listen for zoom changes and move the vds dots so as to keep a nice 238 244 // visual distance between them appropriate to the zoom factor
Note: See TracChangeset
for help on using the changeset viewer.
