summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOpenGLStyleLayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLOpenGLStyleLayer.h')
-rw-r--r--platform/darwin/src/MGLOpenGLStyleLayer.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/platform/darwin/src/MGLOpenGLStyleLayer.h b/platform/darwin/src/MGLOpenGLStyleLayer.h
deleted file mode 100644
index fd82a4a69d..0000000000
--- a/platform/darwin/src/MGLOpenGLStyleLayer.h
+++ /dev/null
@@ -1,51 +0,0 @@
-#import <Foundation/Foundation.h>
-#import <CoreLocation/CoreLocation.h>
-#import <QuartzCore/QuartzCore.h>
-
-#import "MGLFoundation.h"
-#import "MGLStyleValue.h"
-#import "MGLStyleLayer.h"
-#import "MGLGeometry.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class MGLMapView;
-@class MGLStyle;
-
-typedef struct MGLStyleLayerDrawingContext {
- CGSize size;
- CLLocationCoordinate2D centerCoordinate;
- double zoomLevel;
- CLLocationDirection direction;
- CGFloat pitch;
- CGFloat fieldOfView;
- MGLMatrix4 projectionMatrix;
-} MGLStyleLayerDrawingContext;
-
-MGL_EXPORT
-@interface MGLOpenGLStyleLayer : MGLStyleLayer
-
-@property (nonatomic, weak, readonly) MGLStyle *style;
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-declarations"
-#if TARGET_OS_IPHONE
-@property (nonatomic, readonly) EAGLContext *context;
-#else
-@property (nonatomic, readonly) CGLContextObj context;
-#endif
-#pragma clang diagnostic pop
-
-- (instancetype)initWithIdentifier:(NSString *)identifier;
-
-- (void)didMoveToMapView:(MGLMapView *)mapView;
-
-- (void)willMoveFromMapView:(MGLMapView *)mapView;
-
-- (void)drawInMapView:(MGLMapView *)mapView withContext:(MGLStyleLayerDrawingContext)context;
-
-- (void)setNeedsDisplay;
-
-@end
-
-NS_ASSUME_NONNULL_END