Authored by Justin R. Miller

fixes to heading tracking views & tint changes

@@ -2661,6 +2661,17 @@ @@ -2661,6 +2661,17 @@
2661 // update accuracy circle 2661 // update accuracy circle
2662 // 2662 //
2663 ((RMCircle *)_accuracyCircleAnnotation.layer).fillColor = [self.tintColor colorWithAlphaComponent:0.1]; 2663 ((RMCircle *)_accuracyCircleAnnotation.layer).fillColor = [self.tintColor colorWithAlphaComponent:0.1];
  2664 +
  2665 + // update heading tracking views
  2666 + //
  2667 + if (self.userTrackingMode == RMUserTrackingModeFollowWithHeading)
  2668 + {
  2669 + _userHeadingTrackingView.image = [self headingAngleImageForAccuracy:_locationManager.heading.headingAccuracy];
  2670 + _userHaloTrackingView.image = [self trackingDotHaloImage];
  2671 + _userLocationTrackingView.image = [UIImage imageWithCGImage:(CGImageRef)self.userLocation.layer.contents
  2672 + scale:self.userLocation.layer.contentsScale
  2673 + orientation:UIImageOrientationUp];
  2674 + }
2664 } 2675 }
2665 2676
2666 // update tracking button 2677 // update tracking button