From 8eb23cbac8a6c5821dc5935e27689700216c3f1a Mon Sep 17 00:00:00 2001 From: Fredrik Karlsson Date: Sun, 16 Apr 2017 17:24:17 +0200 Subject: [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 --- platform/ios/app/MBXViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/ios/app/MBXViewController.m') 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) -- cgit v1.2.1