         
         self.layer.cornerRadius = 4
         self.clipsToBounds = true
-    }
-    
-    private func addButton(button: UIButton, withImage image: UIImage?) {
-        button.addTarget(self, action: "pressed:", forControlEvents: .TouchUpInside)
-        button.setImage(image?.imageWithRenderingMode(.AlwaysTemplate), forState: .Normal)
-        button.translatesAutoresizingMaskIntoConstraints = false
-        self.addSubview(button)
-        
-        self.addConstraints([
-            NSLayoutConstraint(
-                item: button,
-                attribute: .Leading,
-                relatedBy: .Equal,
-                toItem: self,
-                attribute: .Leading,
-                multiplier: 1,
-                constant: 0),
-            NSLayoutConstraint(
-                item: button,
-                attribute: .Trailing,
-                relatedBy: .Equal,
-                toItem: self,
-                attribute: .Trailing,
-                multiplier: 1,
-                constant: 0),
-            NSLayoutConstraint(
-                item: button,
-                attribute: .Top,
-                relatedBy: .Equal,
-                toItem: self,
-                attribute: .Top,
-                multiplier: 1,
-                constant: 0),
-            NSLayoutConstraint(
-                item: button,
-                attribute: .Bottom,
-                relatedBy: .Equal,
-                toItem: self,
-                attribute: .Bottom,
-                multiplier: 1,
-                constant: 0),
-            ])
+        
+        self.transitionToState(.TrackingLocationOff, animated: false)
     }
     
     public override func intrinsicContentSize() -> CGSize {

        }
    }
    
    func hide(animated: Bool, completion: (() -> Void)? = nil) {
        setHidden(true, animated: animated, completion: completion)
    }
    
    func show(animated: Bool, completion: (() -> Void)? = nil) {
        self.superview?.bringSubviewToFront(self)
        setHidden(false, animated: animated, completion: completion)
    }
}

        self.trackingActivityIndicator.tintColor = self.tintColor
    }
    
    internal func pressed(sender: UIButton!) {
        let userTrackingMode: MKUserTrackingMode
        switch mapView?.userTrackingMode {
        case .Some(MKUserTrackingMode.Follow):
