         
     }
 
+    
     override func viewDidAppear(_ animated: Bool) {
         
         

            
            // restore the original location of the main image

            if(getAsset().location != nil){
                // NILPOINTER BY MAINFRAME
                UIView.animate(withDuration: 0.5, animations: { () -> Void in
                    self.imageView.frame = self.mainImageFrameBackup!
                    self.imageView.layer.shadowOffset = CGSize(width:15, height:15);
                    self.imageView.layer.shadowRadius = 0;
                    self.imageView.layer.shadowOpacity = 0.0;

            
            hideMetadataHUD()
            
            // still possible to select the legal button? :)
            mapView.isUserInteractionEnabled = true
            mapView.isScrollEnabled = false
            mapView.isZoomEnabled = false
            
