Skip to content

Commit

Permalink
Fix empty cluster in annotation using bottom cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
maxep committed Jul 5, 2017
1 parent 7508363 commit 0edefc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ClusterKit/Core/CKCluster.m
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ - (void)addAnnotation:(id<CKAnnotation>)annotation {
}];

[_annotations insertObject:annotation atIndex:index];
annotation.cluster = self;

self.coordinate = _annotations.firstObject.coordinate;
}
Expand Down

0 comments on commit 0edefc8

Please sign in to comment.