@WorkerThread
    private static SearchResult searchByFilter(final IConnector con, @NonNull final GeocacheFilter filter, @NonNull final GeocacheSort sort, final int take, final int alreadyTook) {

        final GCWebAPI.WebApiSearch search = createSearchForFilter(con, filter, sort, take, alreadyTook);
        if (search == null) {
            return new SearchResult();
        }

        final SearchResult sr = GCWebAPI.searchCaches(con, search, true);
        search.fillSearchCacheData(sr.getOrCreateCacheData());
        sr.setToContext(con, b -> b.putString(GCConnector.SEARCH_CONTEXT_FILTER, filter.toConfig()));
        sr.setToContext(con, b -> b.putParcelable(GCConnector.SEARCH_CONTEXT_SORT, sort));
        sr.setToContext(con, b -> b.putInt(GCConnector.SEARCH_CONTEXT_TOOK_TOTAL, take + alreadyTook));
        return sr;
    }
Searches the view port on the live map with Strategy.AUTO

@param viewport Area to search
main/src/main/java/cgeo/geocaching/connector/gc/GCMap.java