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

Commit f6e3ee4

Browse files
muZZkatfriedbunny
authored andcommitted
[ios] fix removal of heading view when changing user tracking modes
1 parent f8c75c6 commit f6e3ee4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platform/ios/MGLUserLocationAnnotationView.m

+2
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ - (void)drawDot
266266
}
267267
else
268268
{
269+
[_headingIndicatorLayer removeFromSuperlayer];
270+
[_headingIndicatorMaskLayer removeFromSuperlayer];
269271
_headingIndicatorLayer = nil;
270272
_headingIndicatorMaskLayer = nil;
271273
}

0 commit comments

Comments
 (0)