title: Get indexPath of mapView annotation
body: <p>When an annotation on the map is selected and the callout accessory control button is tapped I need to be able to find the index of that annotation. The index is going to be used to look at information in an array to prepare for the next view controller (detailed).</p>
  
  <p>How do I find the index of an annotation?</p>
  
  <pre><code>- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control
  {
  NSLog(@"Button clicked");
  [self performSegueWithIdentifier:@"showDetail" sender:self];
  }
  </code></pre>
  
  <p>Thanks</p>