BotiKis/OCMapView

Seleted cluster

JHT1958 opened this issue · 0 comments

Hello, I am select the cluster containing an annotation chooses how? cluster contains 3 example I annotations 1 , 2, 3 if I type 4 by not select against if I type 2 select the cluster.

id < MKAnnotation > ann;
for (int i = 0; i < [[self.mapView annotations] count]; i++)
{
for (ann in [self.mapView annotations])
{
NSString *annTitle = ann.title;
if ([annTitle isEqualToString:[NSString stringWithFormat:@"%d",numSc]])
{
[self.mapView selectAnnotation:ann animated:NO];
bToptrouve=true;
break;
}
}
if (bToptrouve) {
break;
}
}