Open sarbogast opened 4 years ago
Same issue here.
In my case, the problem is solved by changing the default values of the given 3 properties.
manager.shouldRemoveInvisibleAnnotations = false manager.shouldDistributeAnnotationsOnSameCoordinate = false manager.distanceFromContestedLocation = 0
Full Code is:
private lazy var clusterManager: ClusterManager = { [unowned self] in let manager = ClusterManager() manager.delegate = self manager.maxZoomLevel = 20//17 manager.minCountForClustering = 2 manager.clusterPosition = .nearCenter manager.shouldRemoveInvisibleAnnotations = false manager.shouldDistributeAnnotationsOnSameCoordinate = false manager.distanceFromContestedLocation = 0 return manager }()
Same issue, fix by @imnaveensharma is not working for me
same problem here
Description It is not necessarily a bug, maybe I'm not using the library right. When I add annotations to the manager I have a certain number of annotations in there, eg 362 But the if I sum up the numbers in all the cluster annotation view and isolated non-clustered annotations, or simply zoom out to the max, the total number of annotations is different (eg 231). And I get that number both on manager.annotations.count and on annotation.annotations.count:
This is how I initialize my manager:
I don't understand this discrepancy. I don't remove any annotation from the manager.
Smartphone
Checklist