function _jsmSetPointZoneValue(ndx, lat, lon, radiusM)
{
    if ((ndx >= 0) && (ndx < jsvZoneList.length)) {

        /* set array values */
        jsvZoneList[ndx].lat = lat;
        jsvZoneList[ndx].lon = lon;

        /* set GeoZone display values */
        jsmSetIDValue(ID_ZONE_LATITUDE_  + ndx, numFormatFloat(lat,5));
        jsmSetIDValue(ID_ZONE_LONGITUDE_ + ndx, numFormatFloat(lon,5));

        /* set radius */
        if (radiusM >= 0) {
            jsmSetIDValue(ID_ZONE_RADIUS_M, radiusM);
        }

        /* display (remove for production?) */
        jsmSetLatLonDisplay(lat, lon);
        jsmSetDistanceDisplay(radiusM);

    }
}
/**
*** Sets/Displays the specified GeoZone value
*** @param lat      The Zone Latitude
*** @param lon      The Zone Longitude
*** @param radiusM  The Zone radius, in meters
**/
Sets/Displays the specified GeoZone value
Sets / Displays the specified GeoZone value
function _jsmSetPointZoneValue(ndx, lat, lon, radiusM)
{
    if ((ndx >= 0) && (ndx < jsvZoneList.length)) {
        jsvZoneList[ndx].lat = lat;
        jsvZoneList[ndx].lon = lon;
        jsmSetIDValue(ID_ZONE_LATITUDE_  + ndx, numFormatFloat(lat,5));
        jsmSetIDValue(ID_ZONE_LONGITUDE_ + ndx, numFormatFloat(lon,5));
        if (radiusM >= 0) {
            jsmSetIDValue(ID_ZONE_RADIUS_M, radiusM);
        }
        jsmSetLatLonDisplay(lat, lon);
        jsmSetDistanceDisplay(radiusM);
    }
}
function _jsmSetPointZoneValue ( ndx , lat , lon , radiusM ) { if ( ( ndx >= 0 ) && ( ndx < jsvZoneList . length ) ) { jsvZoneList [ ndx ] . lat = lat ; jsvZoneList [ ndx ] . lon = lon ; jsmSetIDValue ( ID_ZONE_LATITUDE_ + ndx , numFormatFloat ( lat , 5 ) ) ; jsmSetIDValue ( ID_ZONE_LONGITUDE_ + ndx , numFormatFloat ( lon , 5 ) ) ; if ( radiusM >= 0 ) { jsmSetIDValue ( ID_ZONE_RADIUS_M , radiusM ) ; } jsmSetLatLonDisplay ( lat , lon ) ; jsmSetDistanceDisplay ( radiusM ) ; } }
Sets/Displays the specified GeoZone value
Sets / Displays the specified GeoZone value
/* set array values */ /* set GeoZone display values */ /* set radius */ /* display (remove for production?) */