summaryrefslogtreecommitdiff
path: root/include/mbgl/ios/MGLTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/ios/MGLTypes.h')
-rw-r--r--include/mbgl/ios/MGLTypes.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/include/mbgl/ios/MGLTypes.h b/include/mbgl/ios/MGLTypes.h
index 9213dafb37..75a0d4619f 100644
--- a/include/mbgl/ios/MGLTypes.h
+++ b/include/mbgl/ios/MGLTypes.h
@@ -1,5 +1,6 @@
#import <Foundation/Foundation.h>
-#import <CoreLocation/CoreLocation.h>
+
+#pragma once
#if !__has_feature(nullability)
#define NS_ASSUME_NONNULL_BEGIN
@@ -23,18 +24,6 @@ typedef NS_ENUM(NSUInteger, MGLUserTrackingMode) {
MGLUserTrackingModeFollowWithHeading
};
-typedef struct {
- CLLocationCoordinate2D sw;
- CLLocationCoordinate2D ne;
-} MGLCoordinateBounds;
-
-NS_INLINE MGLCoordinateBounds MGLCoordinateBoundsMake(CLLocationCoordinate2D sw, CLLocationCoordinate2D ne) {
- MGLCoordinateBounds bounds;
- bounds.sw = sw;
- bounds.ne = ne;
- return bounds;
-}
-
NS_ASSUME_NONNULL_END
#pragma clang diagnostic push