     }
 
     @objc fileprivate func redoSearch() {
-        print("update region and redo search in new region, without UI")
+        isRedoingSearch = true
+        search?.cancel()
+        searchRegion = mapView.region
     }
 
     /**


            guard mapItems != self.resultsViewController.mapItems else { return }
            self.resultsViewController.mapItems = mapItems
        }
        self.search = search
    }

    fileprivate var isQuerying: Bool {
        return searchController.searchBar.isFirstResponder
    }
    fileprivate var isRedoingSearch = false
    fileprivate var preparedSearchQuery: String {
        return searchController.searchBar.text?.trimmingCharacters(in: .whitespaces) ?? ""
    }
