diff options
Diffstat (limited to 'platform/ios/src/MGLMapView.mm')
-rw-r--r-- | platform/ios/src/MGLMapView.mm | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index 2c8492f12a..752a1a780b 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -74,7 +74,6 @@ #import "MGLMapAccessibilityElement.h" #import "MGLLocationManager_Private.h" #import "MGLLoggingConfiguration_Private.h" -#import "MGLNetworkConfiguration_Private.h" #include <algorithm> #include <cstdlib> @@ -194,8 +193,7 @@ public: MGLSMCalloutViewDelegate, MGLCalloutViewDelegate, MGLMultiPointDelegate, - MGLAnnotationImageDelegate, - MGLNetworkEventDelegate> + MGLAnnotationImageDelegate> @property (nonatomic) EAGLContext *context; @property (nonatomic) GLKView *glView; @@ -498,9 +496,6 @@ public: // setup default location manager self.locationManager = nil; - - // setup the download events - [MGLNetworkConfiguration sharedManager].delegate = self; // Set up annotation management and selection state. _annotationImagesByIdentifier = [NSMutableDictionary dictionary]; @@ -6929,11 +6924,4 @@ private: self.showsUserHeadingIndicator = showsHeading; } -#pragma mark - MGLNetworkEventDelegate - -- (void)networkConfiguration:(MGLNetworkConfiguration *)networkConfiguration didReceiveNetworkEvent:(NSDictionary *)event -{ - [MGLMapboxEvents pushEvent:kMGLDownloadPerformanceEvent withAttributes:event]; -} - @end |