function jsmShowDetailPushpin(dsNdx, ppNdx)
{
    if (!jsmap) { return; }

    /* skip pushpin box? */
    if (!DETAIL_INFO_BOX || (dsNdx < 0) || (ppNdx < 0)) {
        // skip info box/bubble
        //alert("Skip show pushpin detail box ...");
        return;
    }

    /* no datasets? */
    if ((jsvDataSets == null) || (jsvDataSets.length <= 0)) {
        // skip info box/bubble
        //alert("No Datasets ... " + dsNdx);
        return;
    } else
    if (dsNdx >= jsvDataSets.length) {
        // skip info box/bubble
        //alert("Invalid Index ... " + dsNdx);
        return;
    }

    /* show pushpin */
    var jpp = jsvDataSets[dsNdx].pushPins;
    if (jpp && (ppNdx < jpp.length)) {
        jsmap.JSShowPushpin(jpp[ppNdx], jsvDetailCenterPushpin);
    } else {
        //alert("Invalid pushpin list or invalid index");
    }

}
/**
*** Attempts to show the pushpin info bubble at the specified index
*** @param dsNdx  The dataset index
*** @param ppNdx  The pushpin index
**/
Attempts to show the pushpin info bubble at the specified index
Attempts to show the pushpin info bubble at the specified index
function jsmShowDetailPushpin(dsNdx, ppNdx)
{
    if (!jsmap) { return; }
    if (!DETAIL_INFO_BOX || (dsNdx < 0) || (ppNdx < 0)) {
        return;
    }
    if ((jsvDataSets == null) || (jsvDataSets.length <= 0)) {
        return;
    } else
    if (dsNdx >= jsvDataSets.length) {
        return;
    }
    var jpp = jsvDataSets[dsNdx].pushPins;
    if (jpp && (ppNdx < jpp.length)) {
        jsmap.JSShowPushpin(jpp[ppNdx], jsvDetailCenterPushpin);
    } else {
    }
}
function jsmShowDetailPushpin ( dsNdx , ppNdx ) { if ( ! jsmap ) { return ; } if ( ! DETAIL_INFO_BOX || ( dsNdx < 0 ) || ( ppNdx < 0 ) ) { return ; } if ( ( jsvDataSets == null ) || ( jsvDataSets . length <= 0 ) ) { return ; } else if ( dsNdx >= jsvDataSets . length ) { return ; } var jpp = jsvDataSets [ dsNdx ] . pushPins ; if ( jpp && ( ppNdx < jpp . length ) ) { jsmap . JSShowPushpin ( jpp [ ppNdx ] , jsvDetailCenterPushpin ) ; } else { } }
Attempts to show the pushpin info bubble at the specified index
Attempts to show the pushpin info bubble at the specified index
/* skip pushpin box? */ // skip info box/bubble //alert("Skip show pushpin detail box ..."); /* no datasets? */ // skip info box/bubble //alert("No Datasets ... " + dsNdx); // skip info box/bubble //alert("Invalid Index ... " + dsNdx); /* show pushpin */ //alert("Invalid pushpin list or invalid index");