Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] fix removal of heading view when changing user tracking modes
Browse files Browse the repository at this point in the history
  • Loading branch information
muZZkat authored and friedbunny committed Oct 29, 2015
1 parent f8c75c6 commit f6e3ee4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform/ios/MGLUserLocationAnnotationView.m
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ - (void)drawDot
}
else
{
[_headingIndicatorLayer removeFromSuperlayer];
[_headingIndicatorMaskLayer removeFromSuperlayer];
_headingIndicatorLayer = nil;
_headingIndicatorMaskLayer = nil;
}
Expand Down

0 comments on commit f6e3ee4

Please sign in to comment.