diff options
author | Jason Wray <jason@mapbox.com> | 2017-08-29 17:42:38 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2017-09-07 19:23:29 -0400 |
commit | 218c720e9e8882e3d9070ce72ca3b4173c7835c8 (patch) | |
tree | 1af367075135c975eda786a627cc1dabb392a2d4 /platform/ios/app | |
parent | 99616e662704f3c778d002fc711ec1288fd6d142 (diff) | |
download | qtlocation-mapboxgl-218c720e9e8882e3d9070ce72ca3b4173c7835c8.tar.gz |
[ios] Add setShowsUserHeadingIndicator and validateUserHeadingUpdating
Diffstat (limited to 'platform/ios/app')
-rw-r--r-- | platform/ios/app/MBXViewController.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m index 40e5889526..6d9eafc042 100644 --- a/platform/ios/app/MBXViewController.m +++ b/platform/ios/app/MBXViewController.m @@ -160,6 +160,7 @@ typedef NS_ENUM(NSInteger, MBXSettingsMiscellaneousRows) { self.debugLoggingEnabled = [[NSUserDefaults standardUserDefaults] boolForKey:@"MGLMapboxMetricsDebugLoggingEnabled"]; self.mapView.scaleBar.hidden = NO; + self.mapView.showsUserHeadingIndicator = YES; self.hudLabel.hidden = YES; self.hudLabel.titleLabel.font = [UIFont monospacedDigitSystemFontOfSize:10 weight:UIFontWeightRegular]; |