             annotationView?.image = UIImage(named: "beer-not-visited")
         }
         
-
+        
         
         
         return annotationView

extension MapVC: CLLocationManagerDelegate {
    
    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
            guard let latest = locations.first else { return }
            //getPubs(location: latest)
            networkCall(location: latest)
    }
    
    func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
    }

    func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) {
        if status == .authorizedAlways || status == .authorizedWhenInUse {
            locationManager?.startUpdatingLocation()

//
//  MapVC.swift
//  beeryMe
//
//  Created by George Jowitt on 22/08/2017.
