diff options
author | Julian Rex <julian.rex@mapbox.com> | 2018-02-09 16:28:57 -0500 |
---|---|---|
committer | Julian Rex <julian.rex@mapbox.com> | 2018-02-09 16:34:49 -0500 |
commit | 0faad452a96ce6644cfc4ac07ec0e0c76e136935 (patch) | |
tree | 235e878fd06f62d8fe2a4af1b9debc661949ee55 /platform/ios/app/MBXViewController.m | |
parent | 7b14455f749db73ef70c58cc2307d2c619633ddf (diff) | |
download | qtlocation-mapboxgl-0faad452a96ce6644cfc4ac07ec0e0c76e136935.tar.gz |
[ios] Removed mapView:didSingleTapAtCoordinate:
Diffstat (limited to 'platform/ios/app/MBXViewController.m')
-rw-r--r-- | platform/ios/app/MBXViewController.m | 13 |
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]; } |