@NonNull
    @WorkerThread
    public static SearchResult searchByViewport(final IConnector con, @NonNull final Viewport viewport, @Nullable final GeocacheFilter filter) {
        try (ContextLogger cLog = new ContextLogger(Log.LogLevel.DEBUG, "GCMap.searchByViewport")) {
            cLog.add("vp:" + viewport);

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

            search.setBox(viewport);
            search.setPage(500, 0);

            final SearchResult searchResult = GCWebAPI.searchCaches(con, search, false);

            if (Settings.isDebug()) {
                searchResult.setUrl(con, viewport.getCenter().format(Format.LAT_LON_DECMINUTE));
            }
            cLog.add("returning " + searchResult.getCount() + " caches");
            return searchResult;
        }
    }
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