Changeset 333 in tmcsimulator for trunk/webapps/js
- Timestamp:
- 03/19/2019 05:59:34 AM (7 years ago)
- Location:
- trunk/webapps/js
- Files:
-
- 3 edited
-
cmsLayer.js (modified) (3 diffs)
-
harLayer.js (modified) (1 diff)
-
vdsLayer.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/js/cmsLayer.js
r327 r333 39 39 // return the StyleOptions 40 40 return { 41 icon: yellowFlag,41 icon: iconCMSidle, 42 42 title: feature.getId()+ " " +feature.getProperty("location")+ " " 43 43 + feature.getProperty("street"), … … 143 143 if (outMessage == "|||||") 144 144 { 145 currentIcon = {icon: yellowFlag};145 currentIcon = {icon: iconCMSidle}; 146 146 } 147 147 else 148 148 { 149 currentIcon = {icon: blueFlag};149 currentIcon = {icon: iconCMSactive}; 150 150 } 151 151 cmsLayer.overrideStyle(cmsLayer.getFeatureById(cmsID), currentIcon) … … 199 199 item.cms.message.phase2.Line3 == "") 200 200 { 201 cmsLayer.overrideStyle(cmsLayer.getFeatureById(item.cms.index), {icon: yellowFlag})201 cmsLayer.overrideStyle(cmsLayer.getFeatureById(item.cms.index), {icon: iconCMSidle}) 202 202 } 203 203 else 204 204 { 205 cmsLayer.overrideStyle(cmsLayer.getFeatureById(item.cms.index), {icon: blueFlag})205 cmsLayer.overrideStyle(cmsLayer.getFeatureById(item.cms.index), {icon: iconCMSactive}) 206 206 } 207 207 } -
trunk/webapps/js/harLayer.js
r327 r333 39 39 // return the StyleOptions 40 40 return { 41 icon: harActive,41 icon: iconHARactive, 42 42 title: feature.getId()+ " " +feature.getProperty("location")+ " " 43 43 + feature.getProperty("street"), -
trunk/webapps/js/vdsLayer.js
r326 r333 6 6 // var diamond = 'M -1,0 0,-1 1,0 0,1 z'; 7 7 // var myShape = circle; 8 var iconPath = vdsIconGreen;8 var iconPath = iconVDSgreen; 9 9 if (color == 'red') 10 10 { 11 iconPath = vdsIconRed;11 iconPath = iconVDSred; 12 12 } 13 13 else if (color == 'yellow') 14 14 { 15 iconPath = vdsIconYellow;15 iconPath = iconVDSyellow; 16 16 } 17 17 return { … … 136 136 { 137 137 var parsed_JSON; 138 loadJSON(k MapPointsFile, function(response)138 loadJSON(kVDSstatusFile, function(response) 139 139 { 140 140 // Parse JSON string into object
Note: See TracChangeset
for help on using the changeset viewer.
