Changeset 333 in tmcsimulator for trunk/webapps/js


Ignore:
Timestamp:
03/19/2019 05:59:34 AM (7 years ago)
Author:
jdalbey
Message:

Update cptms code to reflect image name changes.

Location:
trunk/webapps/js
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/webapps/js/cmsLayer.js

    r327 r333  
    3939        // return the StyleOptions 
    4040        return { 
    41             icon: yellowFlag, 
     41            icon: iconCMSidle, 
    4242            title: feature.getId()+ " " +feature.getProperty("location")+ " "  
    4343                    + feature.getProperty("street"), 
     
    143143        if (outMessage == "|||||") 
    144144        { 
    145             currentIcon = {icon: yellowFlag}; 
     145            currentIcon = {icon: iconCMSidle}; 
    146146        } 
    147147        else 
    148148        { 
    149             currentIcon = {icon: blueFlag}; 
     149            currentIcon = {icon: iconCMSactive}; 
    150150        } 
    151151        cmsLayer.overrideStyle(cmsLayer.getFeatureById(cmsID), currentIcon) 
     
    199199                    item.cms.message.phase2.Line3 == "") 
    200200                { 
    201                     cmsLayer.overrideStyle(cmsLayer.getFeatureById(item.cms.index), {icon: yellowFlag}) 
     201                    cmsLayer.overrideStyle(cmsLayer.getFeatureById(item.cms.index), {icon: iconCMSidle}) 
    202202                } 
    203203                else 
    204204                { 
    205                     cmsLayer.overrideStyle(cmsLayer.getFeatureById(item.cms.index), {icon: blueFlag}) 
     205                    cmsLayer.overrideStyle(cmsLayer.getFeatureById(item.cms.index), {icon: iconCMSactive}) 
    206206                } 
    207207            } 
  • trunk/webapps/js/harLayer.js

    r327 r333  
    3939        // return the StyleOptions 
    4040        return { 
    41             icon: harActive, 
     41            icon: iconHARactive, 
    4242            title: feature.getId()+ " " +feature.getProperty("location")+ " "  
    4343                    + feature.getProperty("street"), 
  • trunk/webapps/js/vdsLayer.js

    r326 r333  
    66//        var diamond = 'M -1,0 0,-1 1,0 0,1 z'; 
    77//        var myShape = circle; 
    8         var iconPath = vdsIconGreen; 
     8        var iconPath = iconVDSgreen; 
    99        if (color == 'red') 
    1010        { 
    11            iconPath = vdsIconRed; 
     11           iconPath = iconVDSred; 
    1212        } 
    1313        else if (color == 'yellow') 
    1414        { 
    15             iconPath = vdsIconYellow; 
     15            iconPath = iconVDSyellow; 
    1616        } 
    1717        return { 
     
    136136    { 
    137137        var parsed_JSON; 
    138         loadJSON(kMapPointsFile, function(response) 
     138        loadJSON(kVDSstatusFile, function(response) 
    139139        { 
    140140            // Parse JSON string into object 
Note: See TracChangeset for help on using the changeset viewer.