Open amsoell opened 9 years ago
At line 445 of REMarkerClusterer.m, mapView:regionDidChangeAnimated isn't checking the length of the selectedAnnotations array before accessing it. Use this code when calling deselectAnnotation:annotation:
id annotation = self.mapView.selectedAnnotations.firstObject;
if (annotation != nil)
[self.mapView deselectAnnotation:annotation animated:NO];
I've been trying to implement this in an app and running into errors, so I downloaded the example assuming it would show me my problem. Unfortunately the REMarkerClustererExample app throws the same error out of the box:
I'm not the best as debugging in Objective-C, but let me know what I can do to help track this bug down.