     }()
     
     private let main = OperationQueue.main
-  
-
+    
+    
     override func viewDidLoad() {
         super.viewDidLoad()
         

        
        SearchStores.searchForStoresLocations(near: coordinate, with: distanceInMeters) { stores in
            
            print("mapView distance is : \(self.distance)")
            
            self.stores = stores
            
            self.populateStoreAnnotations()
            

        
        self.mapView.setRegion(region, animated: true)
    }
    
    func populateStoreAnnotations() {
        
        for store in storesInMapView {
            
            let storeName = store.storeName
            let address = store.address.allValues
            let location = store.location
            
            let latitude = location.latitude
            let longitude = location.longitude
            
            let annotation = MKPointAnnotation()
            
            annotation.coordinate.latitude = latitude
            annotation.coordinate.longitude = longitude
            
            annotation.title = storeName
            mapView.addAnnotations([annotation])
            
        }
        
