RVLVR/REVClusterMap — Issue #5: Get clustered annotations when tapping a cluster pin?
Author: jk
Created: 2012-01-23 21:07:24+00:00
State: open

Hi there,

I really owe you a beer for putting up REVClusterMap on Github, saved me a lot of time. Thank you.

I've got two views, one is your REVClusterMapView and the other one is a list of annotations. I want to replace the annotations when tapping a cluster pin with its clustered annotations.

I thought I had to implement this in

`-(void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view`

which wasn't called until I seted the title attribute of the cluster annotations (MKAnnotation documentation says that you have to set the title attribute to show a callout and therefor call the delegate method).

Ok, the delegate method gets called but now I'm a bit lost how to access the clustered annotations within the cluster pin. I've found the RVSAnnotationCollection, so I think this should be possible, can you give me a hint?