             
             map.addAnnotation(annotation)
         }
-        else {
-             map.setRegion(MKCoordinateRegionMake(currentLocation, 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?

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