hulab / ClusterKit

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

Property 'annotations' not found on object of type 'CKCluster *' #4

Closed SanyM closed 7 years ago

SanyM commented 7 years ago

Hello, I'm trying to implement ClusterKit, but can't seem to correct 2 errors, first is the title Looking into CKCluster.h and m, I can't seem to see that either annotations and its getter functions are public second, the pod subspec for GoogleMaps doesn't seem to be available

SanyM commented 7 years ago

Ok Solved, In your readme if (cluster.annotations.count > 1) { [mapView showCluster:cluster animated:YES]; } should be changed to if (cluster.count > 1) { [mapView showCluster:cluster animated:YES]; }

maxep commented 7 years ago

Thanks, will do. The podspec for GoogleMaps is not available because GoogleMaps cannot be added as a sub dependancy, you have to add it manually as explain in the Installation.