function evHeadingGreenURL(e)
{
    var ppImg = "https://gbpawebdiag949.blob.core.windows.net/gbpa-web/opengts/images/pp/pin30"; // "extra/images/pp/circle"
    if ((MAX_CREATION_AGE_SEC > 0) && (e.createAge > MAX_CREATION_AGE_SEC)) {
        if (e.speedKPH < 1.0) {
            return ppImg + "_black.png";
        } else {
            var x = Math.round(e.heading / 45.0) % 8;
            return ppImg + "_black_h"+x+".png";
        }
    } else
    if (e.speedKPH < 1.0) {
        // probably not moving
        return ppImg + "_green_dot.png";
    } else {
        var x = Math.round(e.heading / 45.0) % 8;
        return ppImg + "_green_h"+x+".png";
    }
}
/**
*** Pushpin:
*** Returns a 'green' pushpin/icon URL based on the event heading
*** @param e  The 'MapEventRecord' object
**/
Returns a 'green' pushpin/icon URL based on the event heading
Returns a ' green ' pushpin / icon URL based on the event heading
function evHeadingGreenURL(e)
{
    var ppImg = "https://gbpawebdiag949.blob.core.windows.net/gbpa-web/opengts/images/pp/pin30"; 
    if ((MAX_CREATION_AGE_SEC > 0) && (e.createAge > MAX_CREATION_AGE_SEC)) {
        if (e.speedKPH < 1.0) {
            return ppImg + "_black.png";
        } else {
            var x = Math.round(e.heading / 45.0) % 8;
            return ppImg + "_black_h"+x+".png";
        }
    } else
    if (e.speedKPH < 1.0) {
        return ppImg + "_green_dot.png";
    } else {
        var x = Math.round(e.heading / 45.0) % 8;
        return ppImg + "_green_h"+x+".png";
    }
}
function evHeadingGreenURL ( e ) { var ppImg = "https://gbpawebdiag949.blob.core.windows.net/gbpa-web/opengts/images/pp/pin30" ; if ( ( MAX_CREATION_AGE_SEC > 0 ) && ( e . createAge > MAX_CREATION_AGE_SEC ) ) { if ( e . speedKPH < 1.0 ) { return ppImg + "_black.png" ; } else { var x = Math . round ( e . heading / 45.0 ) % 8 ; return ppImg + "_black_h" + x + ".png" ; } } else if ( e . speedKPH < 1.0 ) { return ppImg + "_green_dot.png" ; } else { var x = Math . round ( e . heading / 45.0 ) % 8 ; return ppImg + "_green_h" + x + ".png" ; } }
Pushpin:
Returns a 'green' pushpin/icon URL based on the event heading
Pushpin : Returns a ' green ' pushpin / icon URL based on the event heading
// "extra/images/pp/circle" // probably not moving