[ios] fix removal of heading view when changing user tracking modes
This commit is contained in:
committed by
Jason Wray
parent
f8c75c6e22
commit
f6e3ee4b25
@@ -266,6 +266,8 @@ const CGFloat MGLUserLocationAnnotationArrowSize = MGLUserLocationAnnotationPuck
|
||||
}
|
||||
else
|
||||
{
|
||||
[_headingIndicatorLayer removeFromSuperlayer];
|
||||
[_headingIndicatorMaskLayer removeFromSuperlayer];
|
||||
_headingIndicatorLayer = nil;
|
||||
_headingIndicatorMaskLayer = nil;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user