@Nullable
    public static Viewport containingGCliveCaches(final Collection<Geocache> geocaches) {
        final GCConnector conn = GCConnector.getInstance();
        return containing(geocaches, false, cache -> conn.canHandle(cache.getGeocode()) && !cache.inDatabase());
    }
Return the smallest viewport containing all those of the given geocaches,
which are from geocaching.com and not stored in our database

@param geocaches a set of geocaches. Geocaches with null coordinates (or null themselves) will be ignored
@return the smallest viewport containing the non-null coordinates, or null if no coordinates are non-null
main/src/main/java/cgeo/geocaching/location/Viewport.java