How do I determine if a coordinate is in the currently visible map region?
问题 I have a list of several hundred locations and only want to display an MKPinAnnotation for those locations currently on the screen. The screen starts with the user's current location with a 2 mile radius. Of course, the user can scroll, and zoom on the screen. Right now, I wait for a map update event, and then loop through my location list, and check the coordinates like this: -(void)mapViewDidFinishLoadingMap:(MKMapView *)mapView { CGPoint point; CLLocationCoordinate2D coordinate; . . . /*