Authored by Justin R. Miller

be more exact about user tracking centering

@@ -2731,7 +2731,7 @@ @@ -2731,7 +2731,7 @@
2731 CGPoint mapCenterPoint = [self convertPoint:self.center fromView:self.superview]; 2731 CGPoint mapCenterPoint = [self convertPoint:self.center fromView:self.superview];
2732 CGPoint userLocationPoint = [self mapPositionForAnnotation:userLocation]; 2732 CGPoint userLocationPoint = [self mapPositionForAnnotation:userLocation];
2733 2733
2734 - if (fabsf(userLocationPoint.x - mapCenterPoint.x) > 2 || fabsf(userLocationPoint.y - mapCenterPoint.y > 2)) 2734 + if (fabsf(userLocationPoint.x - mapCenterPoint.x) || fabsf(userLocationPoint.y - mapCenterPoint.y))
2735 { 2735 {
2736 if (round(_zoom) >= 10) 2736 if (round(_zoom) >= 10)
2737 { 2737 {