diff options
author | Jason Wray <jason@mapbox.com> | 2016-08-30 17:49:31 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2016-08-31 15:55:34 -0400 |
commit | fcee1a85cdff8f323d86378edf7c180a17329eb4 (patch) | |
tree | caa1e5735cbbdf4ffc5b2db233fa7e709b03b775 /platform/ios/src/MGLAnnotationView.mm | |
parent | 57e7cc97d087b459facf7bbd49c1d05b7c4ca467 (diff) | |
download | qtlocation-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.mm | 10 |
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 { |