     }
     
     func removeAnnotation() {
+        iconImageView?.removeFromSuperview()
         let annotations = mapView.annotations
         mapView.removeAnnotations(annotations)
         print("removeAnnotation")

    var pickerView = UIPickerView()
    var toolBar = UIToolbar()
    var pickOption = ["UBike Station", "Toilet"]
    
    override func viewDidLoad() {
        super.viewDidLoad()

        print("Errors: \(error.localizedDescription)")
    }
    
    
    //MARK: Annotation
    
    func mapView(mapView: MKMapView, viewForAnnotation annotation: MKAnnotation) -> MKAnnotationView? {
        
        if !(annotation is CustomPointAnnotation) {
            return nil
        }
        
        let annotationId = "reuseID"
        annotationView = mapView.dequeueReusableAnnotationViewWithIdentifier(annotationId)
        //如果地標已經建立,直接顯示該地標,否則就建立一個可自訂圖示的新地標
        if annotationView == nil {
            annotationView = MKAnnotationView(annotation: annotation, reuseIdentifier: annotationId)
            annotationView?.canShowCallout = true
        }
        else {
            annotationView?.annotation = annotation
        }
       
        let cpa = annotation as! CustomPointAnnotation
        let pinImage = UIImage(named: cpa.imageName)
        iconImageView = UIImageView(image: pinImage)

//        annotationView?.image = pinImage
        annotationView?.backgroundColor = UIColor.whiteColor()
        annotationView?.frame = CGRectMake(0, 0, 40, 40)
        annotationView?.layer.cornerRadius = annotationView!.frame.size.width / 2
        
        annotationView?.addSubview(iconImageView!)
        iconImageView?.center = (annotationView?.center)!
    

        return annotationView
    }
    
    func mapView(mapView: MKMapView, didSelectAnnotationView view: MKAnnotationView) {
        
        print("didSelectAnnotationView")
        view.backgroundColor = UIColor.mrLightblueColor()
        
    }
    
    func mapView(mapView: MKMapView, didDeselectAnnotationView view: MKAnnotationView) {
        print("didDeselectAnnotationView")

        view.backgroundColor = UIColor.whiteColor()
    }

    
    
    func showStationAnnotation() {
