Open boundsj opened 8 years ago
Wow, surprised Apple MapKit does this!
As far as I can tell, the fix would be to remove these lines:
and conditionalize this line on the userTrackingMode
:
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
For parity with MapKit,
showsUserLocation
anduserTrackingMode
should work independently so that the map will update according to the behavior defined by eachMGLUserTrackingMode
value even if the user annotation is not shown. This implies that the SDK would trigger the Core Location permissions dialog (like it currently does whenshowsUserLocation
is set to true), if required, whenuserTrackingMode
is set to a mode that requires it.The user tracking modes
MGLUserTrackingModeFollow
,MGLUserTrackingModeFollowWithHeading
, and,MGLUserTrackingModeFollowWithCourse
.