     
     var allDataModel: [KPDataModel]! {
         didSet {
-            (self.view as! GMSMapView).clear()
+            self.mapView.clear()
             for datamodel in self.allDataModel  {
                 self.clusterManager.add(datamodel)
             }

    
    private var clusterManager: GMUClusterManager!
    
    var mapView: GMSMapView {
        get {
            return self.view as! GMSMapView
        }
    }
    
    var currentDataModel:KPDataModel?
    var selectedDataModel: KPDataModel? {

            self.clusterManager.cluster()
        }
    }

    override func viewDidLoad() {
        super.viewDidLoad()
        
        
        let camera = GMSCameraPosition.camera(withLatitude: 25.018744, longitude: 121.532785, zoom: 18.0)
        self.mapView = GMSMapView.map(withFrame: CGRect.zero, camera: camera)
        
        mapView.delegate = self
        
