summaryrefslogtreecommitdiff
path: root/platform/ios/app/MBXViewController.m
diff options
context:
space:
mode:
authorFredrik Karlsson <bjorn.fredrik.karlsson@gmail.com>2017-04-16 17:24:17 +0200
committerGitHub <noreply@github.com>2017-04-16 17:24:17 +0200
commit8eb23cbac8a6c5821dc5935e27689700216c3f1a (patch)
treed02fd3667c8e19daf3724384f4956f16ec0bf01c /platform/ios/app/MBXViewController.m
parentfcf5d1b8af5ca01f8634107f00fbc843c892dd48 (diff)
downloadqtlocation-mapboxgl-8eb23cbac8a6c5821dc5935e27689700216c3f1a.tar.gz
[ios] Scale bar (#7631)
* [ios] added a scale bar * [ios] update design * [ios] show/hide scale bar * [ios] Remove the need to localize 0 * [ios] Support for imperial units * [ios] Round to nearest foot * [ios] Make scale bar private * [ios] Update design and clean up * [ios] Rename and various optimizations * [ios] RTL support * [ios] added max scale and removed animations * [ios] animate scale bar
Diffstat (limited to 'platform/ios/app/MBXViewController.m')
-rw-r--r--platform/ios/app/MBXViewController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m
index a7bab2108a..70271c02b9 100644
--- a/platform/ios/app/MBXViewController.m
+++ b/platform/ios/app/MBXViewController.m
@@ -159,7 +159,7 @@ typedef NS_ENUM(NSInteger, MBXSettingsMiscellaneousRows) {
[self restoreState:nil];
self.debugLoggingEnabled = [[NSUserDefaults standardUserDefaults] boolForKey:@"MGLMapboxMetricsDebugLoggingEnabled"];
-
+ self.mapView.scaleBar.hidden = NO;
self.hudLabel.hidden = YES;
if ([MGLAccountManager accessToken].length)