-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
REVClusterMap is a great project I found for this too long.
But found some problems in my project.
I'm addAnnotations for many times, and need keep old annotations, but seems i will lost the old annotations.
I'm looked into the code, I think the problem should happen in REVClusterMapView the functions regionDidChangeAnimated and addAnnotations
in addAnnotations
annotationsCopy = [annotations copy];
and after this I move the map, we will call regionDidChangeAnimated
[super removeAnnotations:self.annotations];
NSArray *add = [REVClusterManager clusterAnnotationsForMapView:self forAnnotations:annotationsCopy blocks:self.blocks minClusterLevel:self.minimumClusterLevel];
we remove all, and just add new.
Metadata
Metadata
Assignees
Labels
No labels