             return nil
     }
     
-
-        
     
 
     

             let pinLocation: CLLocationCoordinate2D = CLLocationCoordinate2D(latitude: (spot?.location.latitude)!, longitude: (spot?.location.longitude)!)
          let region=MKCoordinateRegion(center: pinLocation, span: MKCoordinateSpan(latitudeDelta: 0.004, longitudeDelta: 0.004))
          self.map.setRegion(region, animated: true)
            let annotation = CustomerAnnotation(coordinate: pinLocation,spotObject: spot!, title :(spot!.owner!.email!),subtitle: (spot!.owner?.email)!)
            //annotation.subtitle = "Rating bar here"
            self.map.addAnnotation(annotation)
        }

                    
                }
                catch{
                    //Throw exception here
                }
               
                pic.frame = CGRectMake(0, 0, 40, 40);
                pinAnnotationView.leftCalloutAccessoryView = pic
                pinAnnotationView.frame = CGRectMake(0,0,500,500)
                return pinAnnotationView
                
            }
