summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLAnnotationView.mm
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2016-08-30 17:49:31 -0400
committerJason Wray <jason@mapbox.com>2016-08-31 15:55:34 -0400
commitfcee1a85cdff8f323d86378edf7c180a17329eb4 (patch)
treecaa1e5735cbbdf4ffc5b2db233fa7e709b03b775 /platform/ios/src/MGLAnnotationView.mm
parent57e7cc97d087b459facf7bbd49c1d05b7c4ca467 (diff)
downloadqtlocation-mapboxgl-fcee1a85cdff8f323d86378edf7c180a17329eb4.tar.gz
[ios] Allow implicit animation of annotation views
- Allows the user location annotation to again animate its movements while no tracking mode is enabled.
Diffstat (limited to 'platform/ios/src/MGLAnnotationView.mm')
-rw-r--r--platform/ios/src/MGLAnnotationView.mm10
1 files changed, 0 insertions, 10 deletions
diff --git a/platform/ios/src/MGLAnnotationView.mm b/platform/ios/src/MGLAnnotationView.mm
index c37adc5566..96ed8c733e 100644
--- a/platform/ios/src/MGLAnnotationView.mm
+++ b/platform/ios/src/MGLAnnotationView.mm
@@ -246,16 +246,6 @@
return otherGestureRecognizer == _longPressRecognizer || otherGestureRecognizer == _panGestureRecognizer;
}
-- (id<CAAction>)actionForLayer:(CALayer *)layer forKey:(NSString *)event
-{
- // Allow mbgl to drive animation of this view’s bounds.
- if ([event isEqualToString:@"bounds"] || [event isEqualToString:@"position"])
- {
- return [NSNull null];
- }
- return [super actionForLayer:layer forKey:event];
-}
-
#pragma mark UIAccessibility methods
- (BOOL)isAccessibilityElement {