public static int getWayPointsThreshold() {
        return getInt(R.string.pref_showwaypointsthreshold, getKeyInt(R.integer.waypoint_threshold_default));
    }
The threshold for the showing of child waypoints
main/src/main/java/cgeo/geocaching/settings/Settings.java