         clipsToBounds = true
         translatesAutoresizingMaskIntoConstraints = false
         backgroundColor = UIColor.complement()
+        self.controller = controller
         
         let map:VCreateMap = VCreateMap(controller:controller)
         self.map = map

        let button:UIButton = UIButton()
        button.backgroundColor = UIColor.redColor().colorWithAlphaComponent(0.3)
        button.translatesAutoresizingMaskIntoConstraints = false
        
        addSubview(loader)
        addSubview(finder)

    
    override func layoutSubviews()
    {
        let center:CGPoint = pointer.center
        layoutButtonLeft.constant = center.x
        layoutButtonTop.constant = center.y
        
        super.layoutSubviews()
    }
    
    //MARK: actions
    
    func actionButton(sender button:UIButton)
    {
        controller.addLocation()
    }
    
    //MARK: public
