From b7879d5a370f232b3030fb404a9eb8a51d3a7eb1 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Wed, 11 Oct 2017 10:06:30 -0700 Subject: [ios] Update MGLUserLocation.heading for showsUserHeadingIndicator --- platform/ios/src/MGLUserLocation.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/ios/src/MGLUserLocation.h b/platform/ios/src/MGLUserLocation.h index 91abadbcb7..4e01cf00c9 100644 --- a/platform/ios/src/MGLUserLocation.h +++ b/platform/ios/src/MGLUserLocation.h @@ -34,7 +34,8 @@ MGL_EXPORT The heading of the user location. (read-only) This property is `nil` if the user location tracking mode is not - `MGLUserTrackingModeFollowWithHeading`. + `MGLUserTrackingModeFollowWithHeading` or if + `MGLMapView.showsUserHeadingIndicator` is disabled. */ @property (nonatomic, readonly, nullable) CLHeading *heading; -- cgit v1.2.1