ADClusterMapView icon indicating copy to clipboard operation
ADClusterMapView copied to clipboard

ADClusterMapView selectAnnotation:animated: does not work with custom annotations

Open CMoebius opened this issue 13 years ago • 5 comments

I am using a custom class that implements MKAnnotation. When I use one of these annotations in the call to selectAnnotation:animated:, nothing gets selected.

CMoebius avatar Nov 09 '12 20:11 CMoebius

Hi! Are you using the latest version of our library? A similar bug was fixed a few days ago.

PatrickNLT avatar Nov 12 '12 11:11 PatrickNLT

I do have the most recent build. I was trying to use an object of the custom annotation class in the call and it doesn't display the callout. I traced the code and there is an assert there to make sure the annotation type is ADClusterAnnotation. Guess what, my custom annotation is not of that type...

CMoebius avatar Nov 12 '12 16:11 CMoebius

Are you using setAnnotations: to add your custom annotations, or addAnnotations: ? Only setAnnotations: is currently supported.

PatrickNLT avatar Nov 12 '12 17:11 PatrickNLT

I was using setAnnotations. I have since converted back to Revolver so I can meet my app deadline. My annotations, etc. were displaying fine and clustering was working great. Just no callout when calling selectAnnotation.

CMoebius avatar Nov 12 '12 18:11 CMoebius

Has this been fixed now?

alexsteinerde avatar Dec 21 '16 19:12 alexsteinerde