0

How can I get all the visible MKAnnotationViews in

- (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)clickedview

Basically I want to make some calculation to get all the views touching (in cascade) the clickedview

thanks

Mathieu
  • 1,175
  • 4
  • 19
  • 34

1 Answers1

2

You can use annotationsInMapRect: to get all the annotations inside a map rect. visibleMapRect will get you the current map rect to use.

nevan king
  • 112,709
  • 45
  • 203
  • 241