summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView_Private.h
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@gmail.com>2018-11-20 14:31:09 -0500
committerGitHub <noreply@github.com>2018-11-20 14:31:09 -0500
commit53bbf9d6991c1eddfa141ddcfb4b7252874e46ec (patch)
tree3ad8c97d579c4086b3682e27e6ff3deae52680f6 /platform/ios/src/MGLMapView_Private.h
parent8b232f693dc3f835bbb91c6c4bdf07020e98c164 (diff)
downloadqtlocation-mapboxgl-53bbf9d6991c1eddfa141ddcfb4b7252874e46ec.tar.gz
[ios] Added teardown of core objects when receiving UIApplicationWillTerminateNotification (#13367)
Diffstat (limited to 'platform/ios/src/MGLMapView_Private.h')
-rw-r--r--platform/ios/src/MGLMapView_Private.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/ios/src/MGLMapView_Private.h b/platform/ios/src/MGLMapView_Private.h
index 133d17023e..bddb9b093e 100644
--- a/platform/ios/src/MGLMapView_Private.h
+++ b/platform/ios/src/MGLMapView_Private.h
@@ -8,6 +8,9 @@ namespace mbgl {
/// 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)
/// Currently shown popover representing the selected annotation.
@@ -16,8 +19,6 @@ FOUNDATION_EXTERN const CGSize MGLAnnotationAccessibilityElementMinimumSize;
/** Triggers another render pass even when it is not necessary. */
- (void)setNeedsGLDisplay;
-- (mbgl::Map *)mbglMap;
-
- (mbgl::Renderer *)renderer;
/** Returns whether the map view is currently loading or processing any assets required to render the map */