Open NSCabezon opened 6 years ago
It also happens on iOS 12 Release version
I have same issues
Same problem, i think they just don't get updated
If I understand your problem, you can substitute the clustering count in the views with the value of annotation.annotations.count. But the problem persist
Thanks, I'll take a look today.
Can you provide your configuration?
Here you go:
clusterManager.cellSize = 50
clusterManager.maxZoomLevel = 17
clusterManager.minCountForClustering = 3
clusterManager.clusterPosition = .nearCenter
Check out the latest version (2.2.9). Let me know if it fixes the bug.
Still having the issue :(
I'll try to reproduce. Do you have any reproduction steps?
It reproduces always, the number doesn't show the real annotation count... idk
I'm trying to reproduce using the example. Do you see it happening in the example? Does it only happen when combining different types of annotations?
Cluster and not clustered... so I guess not... Example is working fine
It appears to be an issue caused by annotations with images.
Can you check that the annotation.annotations.count
is correct for the ClusterAnnotationView? It might be related to reusing the MKAnnotationView.
After investigating, I found out the annotations are getting transposed when shouldDistributeAnnotationsOnSameCoordinate
is set to true
. I'm currently looking for a solution.
I have addressed this issue in #107. Let me know if this is still an issue.
I still have this issue, I set minCountForClustering
to 5. And the count of annotation does not show the correct number. When I select a clusterAnnotationView on the map, the following code is not executed. if let cluster = view.annotation as? ClusterAnnotation { \\ my code here }
New Issue Checklist
Issue Description
The clustering count gets messed up, the numbers change from one cluster to another but they sometimes don't get updated...
Environment