 //
 
 import UIKit
+import MapKit
 import BenzeneFoundation
 
 class KPInformationViewController: KPViewController {
 
-    
     var informationDataModel: KPDataModel! {
         didSet {
             KPServiceHandler.sharedHandler.currentDisplayModel = informationDataModel

                                                 color:KPColorPalette.KPMainColor.mainColor!,
                                                 icon:(R.image.icon_navi()?.withRenderingMode(.alwaysTemplate))!,
                                                 handler:{ [unowned self] (infoView) -> () in
                                                    if (UIApplication.shared.canOpenURL(URL(string:"comgooglemaps://")!)) {
                                                        UIApplication.shared.open(URL(string:
                                                            "comgooglemaps://?daddr=\(self.informationDataModel.latitude!),\(self.informationDataModel.longitude!)&mapmode=standard")!,
                                                                                  options: [:],
                                                                                  completionHandler: nil)
                                                    } else {
                                                        print("Can't use comgooglemaps://")
                                                    }
        }),
                                                Action(title:"街景模式",
                                                 style:.normal,

    }
    
    var actionController: UIAlertController!
    var mapActionController: UIAlertController!
    var scrollContainer: UIScrollView!
    var informationHeaderView: KPInformationHeaderView!
    var informationHeaderButtonBar: KPInformationHeaderButtonBar!
