I have implemented double tap to zoom using following code.
CLLocation* currentLocation = [myArray objectAtIndex:5];
MKMapPoint annotationPoint = MKMapPointForCoordinate(currentLocation.coordinate);
MKMapRect zoomRect = MKMapRectMake(annotationPoint.x, annotationPoint.y, 0.1, 0.1);
[mapView setVisibleMapRect:zoomRect animated:YES];
When i double tap first time, zoom to particular pin location not working, next time onwards working fine.
and if double tap from different location very far from pins locations,then same issue i.e. zoom to particular pin location not working.
Can any one have an idea Please?
Thanks