Changeset 357 in tmcsimulator
- Timestamp:
- 04/07/2019 05:59:24 PM (7 years ago)
- Location:
- trunk/webapps
- Files:
-
- 3 edited
-
cptms.html (modified) (1 diff)
-
js/cctvLayer.js (modified) (1 diff)
-
js/harLayer.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/cptms.html
r351 r357 214 214 <script src="js/controls.js"></script> 215 215 <script src="js/night_mode.js"></script> 216 <!-- Using John's API Key 217 <script async defer 218 src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD6iTyN0DjP-9OVkAgicyp4tkC10naE_B8&libraries=places&callback=initMap"> 219 </script> 220 --> 216 221 217 <!-- Project API Key --> 222 218 <script async defer -
trunk/webapps/js/cctvLayer.js
r351 r357 63 63 nearVDS = map.data.getFeatureById(event.feature.getProperty("nearVDS")); 64 64 currentColor = nearVDS.getProperty("color"); 65 // Currently, Fast and Slow images are stored in separate folders. 66 // As Neil gets actual images collated, we will change this to a file name scheme 67 // rte-id-velocity.jpg 68 // rte is route number, e.g., 055 69 // id is 4-digit camera id, e.g., 0012 70 // vel is traffic velocity: "freeflow", "slow", or "stopped" 65 71 var imgDir = "CCTVFast/"; 66 72 if (currentColor == "red" || currentColor == "yellow") -
trunk/webapps/js/harLayer.js
r351 r357 152 152 if (item.har.message.phase1.Line1 == "") 153 153 { 154 cmsLayer.overrideStyle(cmsLayer.getFeatureById(item.har.index), {icon: iconHARidle})154 harLayer.overrideStyle(harLayer.getFeatureById(item.har.index), {icon: iconHARidle}) 155 155 } 156 156 else 157 157 { 158 cmsLayer.overrideStyle(cmsLayer.getFeatureById(item.har.index), {icon: iconHARactive})158 harLayer.overrideStyle(harLayer.getFeatureById(item.har.index), {icon: iconHARactive}) 159 159 } 160 160 }
Note: See TracChangeset
for help on using the changeset viewer.
