@VisibleForTesting
    @SuppressWarnings("DuplicateBranchesInSwitch")
    static int toLocusSize(final CacheSize cs) {
        switch (cs) {
            case NANO:
                return GeocachingData.CACHE_SIZE_MICRO; // used by OC only
            case MICRO:
                return GeocachingData.CACHE_SIZE_MICRO;
            case SMALL:
                return GeocachingData.CACHE_SIZE_SMALL;
            case REGULAR:
                return GeocachingData.CACHE_SIZE_REGULAR;
            case LARGE:
                return GeocachingData.CACHE_SIZE_LARGE;
            case VERY_LARGE:
                return GeocachingData.CACHE_SIZE_HUGE; // used by OC only
            case NOT_CHOSEN:
                return GeocachingData.CACHE_SIZE_NOT_CHOSEN;
            case VIRTUAL:
                return GeocachingData.CACHE_SIZE_VIRTUAL;
            case OTHER:
                return GeocachingData.CACHE_SIZE_OTHER;
            case UNKNOWN:
                return GeocachingData.CACHE_SIZE_NOT_CHOSEN;
        }
        // unknown cache size
        return GeocachingData.CACHE_SIZE_NOT_CHOSEN;
    }
This method constructs a {@code Point} for displaying in Locus

@return null, when the {@code Point} could not be constructed
main/src/main/java/cgeo/geocaching/apps/AbstractLocusApp.java