         let locationObj = locations.last
         let coord = locationObj?.coordinate
         if let c = coord {
-            currentLocation = c
-            if !locationSet {
-                locationSet = true
-                map.setRegion(MKCoordinateRegionMake(currentLocation, MKCoordinateSpanMake(0.1, 0.1)), animated: true)
-            }
+            map.setRegion(MKCoordinateRegionMake(c, MKCoordinateSpanMake(0.1, 0.1)), animated: true)
         }
     }
     /*

    let locationManager = CLLocationManager()
    
    var location:CLLocationCoordinate2D?
    var currentLocation = CLLocationCoordinate2D()
    var locationSet = false
    var annotation = MKPointAnnotation()
    
    var delegate: writeValueBackDelegate?

            
            map.addAnnotation(annotation)
        }
        
    }

