Files
MapLibreParticleLab/platform/ios/src/MGLMapView_Private.h
Minh Nguyễn 26e1c925f2 [ios, macos] Expose MGLMapView OpenGL context to OpenGL style layers
Added a property to MGLOpenGLStyleLayer that contains the map view’s underlying OpenGL rendering context.
2019-02-25 10:44:43 -08:00

34 lines
1019 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#import <Mapbox/Mapbox.h>
namespace mbgl {
class Map;
class Renderer;
}
/// Minimum size of an annotation’s accessibility element.
FOUNDATION_EXTERN const CGSize MGLAnnotationAccessibilityElementMinimumSize;
/// Indicates that a method (that uses `mbgl::Map`) was called after app termination.
FOUNDATION_EXTERN MGL_EXPORT MGLExceptionName const MGLUnderlyingMapUnavailableException;
@interface MGLMapView (Private)
/// The map view’s OpenGL rendering context.
@property (nonatomic, readonly) EAGLContext *context;
/// Currently shown popover representing the selected annotation.
@property (nonatomic) UIView<MGLCalloutView> *calloutViewForSelectedAnnotation;
/** Triggers another render pass even when it is not necessary. */
- (void)setNeedsGLDisplay;
- (mbgl::Renderer *)renderer;
/** Returns whether the map view is currently loading or processing any assets required to render the map */
- (BOOL)isFullyLoaded;
/** Empties the in-memory tile cache. */
- (void)didReceiveMemoryWarning;
@end