summaryrefslogtreecommitdiff
path: root/platform/ios/app/MBXViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/app/MBXViewController.m')
-rw-r--r--platform/ios/app/MBXViewController.m13
1 files changed, 1 insertions, 12 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m
index 904046ac15..1046644f8c 100644
--- a/platform/ios/app/MBXViewController.m
+++ b/platform/ios/app/MBXViewController.m
@@ -1880,7 +1880,7 @@ typedef NS_ENUM(NSInteger, MBXSettingsMiscellaneousRows) {
_usingLocaleBasedCountryLabels = [[self bestLanguageForUser] isEqualToString:@"en"];
}
-- (void)mapViewRegionIsChanging:(MGLMapView *)mapView reason:(MGLCameraChangeReason)reason
+- (void)mapViewRegionIsChanging:(MGLMapView *)mapView
{
[self updateHUD];
}
@@ -1890,17 +1890,6 @@ typedef NS_ENUM(NSInteger, MBXSettingsMiscellaneousRows) {
[self updateHUD];
}
-- (void)mapView:(MGLMapView *)mapView didSingleTapAtCoordinate:(CLLocationCoordinate2D)coordinate
-{
- [self.navigationController setNavigationBarHidden:!self.navigationController.navigationBarHidden animated:YES];
-
-#if 0
- MGLPointAnnotation *annot = [[MGLPointAnnotation alloc] init];
- annot.coordinate = coordinate;
- [self.mapView addAnnotation:annot];
-#endif
-}
-
- (void)mapView:(MGLMapView *)mapView didUpdateUserLocation:(MGLUserLocation *)userLocation {
[self updateHUD];
}