         dotView = UIView()
         super.init(annotation: annotation, reuseIdentifier: reuseIdentifier)
         
-        let dimension = 60
         frame = CGRect(x: 0, y: 0, width: dimension, height: dimension)
         
         dotView.layer.borderWidth = 2

    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        if selected {
            selectedImageView.alpha = 0
            selectedImageView.transform = CGAffineTransform(scaleX: 0.5, y: 0.5)
        } else {
            selectedImageView.alpha = 1
        }
        let animations = {
            if selected {
                self.selectedImageView.alpha = 1
                self.selectedImageView.transform = CGAffineTransform.identity
            } else {
                self.selectedImageView.alpha = 0
                //self.imageView.transform = CGAffineTransform(scaleX: 0.8, y: 0.8)
            }
        }
        if (animated) {

        set(alwaysShowImage: false, animated: false)
        selectedImageView.alpha = 0
        selectedImageView.transform = CGAffineTransform.identity
        dotView.transform = CGAffineTransform.identity
        dotView.alpha = 1
        imageView.alpha = 0
        imageView.transform = CGAffineTransform.identity
        alpha = 1
