function evDeviceNameSpeedIconURL(e)
{
    // http://DOMAIN/track/Marker?icon=#White_47x1&text=Demo2&border=red&fill=yellow
    // - get fill color based on speed
    var fc = "";
    var bc = "";
    if (e.speedKPH < 5.0) {
        fc = "FF8888"; // red (probably not moving)
    } else
    if (e.speedKPH < 32.0) {
        fc = "FFFF88"; // yellow (5 <= X < 32)
    } else {
        fc = "88FF88"; // green (32 <= X)
    }
    // - create URL
    var tx = e.devVIN;
    return evTextLabelIconURL("#White_47x1","",fc,bc,"",tx);
}
/**
*** Pushpin:
*** Returns a label pushpin/icon URL which includes the device short name,
*** with a background color that is based on the vehicle speed
*** @param e  The 'MapEventRecord' object
**/
Returns a label pushpin/icon URL which includes the device short name,
with a background color that is based on the vehicle speed
Returns a label pushpin / icon URL which includes the device short name with a background color that is based on the vehicle speed
function evDeviceNameSpeedIconURL(e)
{
    var fc = "";
    var bc = "";
    if (e.speedKPH < 5.0) {
        fc = "FF8888"; 
    } else
    if (e.speedKPH < 32.0) {
        fc = "FFFF88"; 
    } else {
        fc = "88FF88"; 
    }
    var tx = e.devVIN;
    return evTextLabelIconURL("#White_47x1","",fc,bc,"",tx);
}
function evDeviceNameSpeedIconURL ( e ) { var fc = "" ; var bc = "" ; if ( e . speedKPH < 5.0 ) { fc = "FF8888" ; } else if ( e . speedKPH < 32.0 ) { fc = "FFFF88" ; } else { fc = "88FF88" ; } var tx = e . devVIN ; return evTextLabelIconURL ( "#White_47x1" , "" , fc , bc , "" , tx ) ; }
Pushpin:
Returns a label pushpin/icon URL which includes the device short name,
with a background color that is based on the vehicle speed
Pushpin : Returns a label pushpin / icon URL which includes the device short name with a background color that is based on the vehicle speed
// http://DOMAIN/track/Marker?icon=#White_47x1&text=Demo2&border=red&fill=yellow // - get fill color based on speed // red (probably not moving) // yellow (5 <= X < 32) // green (32 <= X) // - create URL