     func mapView(mapView: MKMapView, viewForAnnotation annotation: MKAnnotation) -> MKAnnotationView? {
         // changing picture of map annotations
         
-        if annotation.isEqual(mapView.userLocation)
+        if annotation.isEqual(self.mapView.userLocation)
         {
             return nil
         }

            manager.startUpdatingLocation()
        }
    }
}

        
        self.locationManager.delegate = self
        self.locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters
        
        self.disableUserAnnotationView(self.mapView.userLocation)
        
        let jsonString = "{ \"locations\" : [ { \"name\" : \"Location 1\", \"lat\" : 48.742070, \"lon\" : 9.102263 }, { \"name\" : \"Location 2\", \"lat\" : 48.740995, \"lon\" : 9.101709 } ] }"
        let jsonData = jsonString.dataUsingEncoding(NSUTF8StringEncoding)
