Changeset 333 in tmcsimulator for trunk/webapps/js/vdsLayer.js


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

Update cptms code to reflect image name changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.