diff options
author | Julian Rex <julian.rex@gmail.com> | 2018-11-20 14:31:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-20 14:31:09 -0500 |
commit | 53bbf9d6991c1eddfa141ddcfb4b7252874e46ec (patch) | |
tree | 3ad8c97d579c4086b3682e27e6ff3deae52680f6 /platform/ios/src/MGLMapView_Private.h | |
parent | 8b232f693dc3f835bbb91c6c4bdf07020e98c164 (diff) | |
download | qtlocation-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.h | 5 |
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 */ |