summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2017-09-14 11:42:55 -0700
committerJesse Bounds <jesse@rebounds.net>2017-09-14 11:42:55 -0700
commit0a19195f6ad01c165b4242d7f72dcc7b07b0d9ca (patch)
tree99296fb82a64ef1c73cf369e99c36be30b23969c
parent611e6ce9c4ce08ba242c68980405b0584c1d5b02 (diff)
downloadqtlocation-mapboxgl-upstream/boundsj-revert-manual-ornament-layout.tar.gz
[ios] Remove unused KVO context and state variablesupstream/boundsj-revert-manual-ornament-layout
-rw-r--r--platform/ios/src/MGLMapView.mm5
1 files changed, 0 insertions, 5 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index 77f619921c..08fec00520 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -136,9 +136,6 @@ const CGFloat MGLAnnotationImagePaddingForCallout = 1;
const CGSize MGLAnnotationAccessibilityElementMinimumSize = CGSizeMake(10, 10);
-// Context for KVO observing UILayoutGuides.
-static void * MGLLayoutGuidesUpdatedContext = &MGLLayoutGuidesUpdatedContext;
-
/// Unique identifier representing a single annotation in mbgl.
typedef uint32_t MGLAnnotationTag;
@@ -302,8 +299,6 @@ public:
NSDate *_userLocationAnimationCompletionDate;
/// True if a willChange notification has been issued for shape annotation layers and a didChange notification is pending.
BOOL _isChangingAnnotationLayers;
- BOOL _isObservingTopLayoutGuide;
- BOOL _isObservingBottomLayoutGuide;
BOOL _isWaitingForRedundantReachableNotification;
BOOL _isTargetingInterfaceBuilder;