                 
                 annotations.append(chargerAnnotation)
                 self.haveLoadedInitialChargerData = true
-                
-                
-            }
-            
-            self.mapView.addAnnotations(annotations)
+            }
+            
+            //self.mapView.addAnnotations(annotations)
+            self.clusterManager = ClusterManager()
+            self.clusterManager.addAnnotations(annotations)
+            self.updateClusteringAnnotations()
             
             if (self.haveSearchResult) {
                 self.mapView.addAnnotation(self.searchAnnotation)

        if pin == nil {
            // If the pin is not in the cache, we create it.
            pin = MKAnnotationView(annotation: annotation, reuseIdentifier: "net.zygotelabs.annotation")
        }
        
        if (annotation is AnnotationCharger) {

                var annotations: [MKAnnotation] = [MKAnnotation]()
                annotations = self.mapView.annotations
                self.mapView.removeAnnotations(annotations)
            }
            let mapCenterCoordinate = self.mapView.region.center
            // Retrieve chargers from CoreData
