- (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view
{
if ([view.annotation isKindOfClass:MKUserLocation.class]) {
[mapView deselectAnnotation:view.annotation animated:YES];
}
else {
[mapView deselectAnnotation:view.annotation animated:YES];
view.image=[UIImage imageNamed:@"[email protected]"];//annotation pin
[self ToolTipView:view];//For adding the callout view
}
}
- (void)mapView:(MKMapView *)mapView didSelectA