hulab / ClusterKit

An iOS map clustering framework targeting MapKit, Google Maps and Mapbox.
MIT License
512 stars 86 forks source link

Not displaying non-clustered annotations #47

Closed dvertovsek closed 5 years ago

dvertovsek commented 6 years ago

If I choose to exclude an annotation from being clustered using func clusterManager(_ clusterManager: CKClusterManager, shouldClusterAnnotation annotation: MKAnnotation) -> Bool then that annotation is not displayed on the map.

Is this intended behaviour?

nnhubbard commented 5 years ago

I am having this issue as well and would love to get it fixed!

maxep commented 5 years ago

Yes, this is intended. Annotations will be excluded from clusters but not from the map. If you do not want to display an annotation, you can remove it from the cluster manager: [CKClusterManager removeAnnotation:]

nnhubbard commented 5 years ago

@maxep But we are not even seeing the annotation on the map when using this method. It is never shown. It is my understanding that the annotation should always be showing on the map, which isn't the case here.