                 
                 let count = annotations.count
                 
-                if count == 1 {
+                if count == 1 || zoomLevel >= self.maxZoomLevel {
                     clusteredAnnotations += annotations
-                }
-                
-                if count > 1 && zoomScale < self.maxZoomLevel {
+                } else if count > 1 {
                     let coordinate = CLLocationCoordinate2D(
                         latitude: CLLocationDegrees(totalLatitude)/CLLocationDegrees(count),
                         longitude: CLLocationDegrees(totalLongitude)/CLLocationDegrees(count)

            // less than 13 zoom level
            return 88
        }
        
    }
    
}
    
    var lock:NSRecursiveLock = NSRecursiveLock()
    
    public var maxZoomLevel = 19
    
    public override init(){
        super.init()
