committed by
Minh Nguyễn
parent
d04d6d8f93
commit
29688e2cd8
@@ -507,4 +507,14 @@ const CGFloat MGLUserLocationAnnotationArrowSize = MGLUserLocationAnnotationPuck
|
||||
return ovalPath;
|
||||
}
|
||||
|
||||
- (id<CAAction>)actionForLayer:(CALayer *)layer forKey:(NSString *)event
|
||||
{
|
||||
// Allow mbgl to drive animation of this view’s bounds.
|
||||
if ([event isEqualToString:@"bounds"])
|
||||
{
|
||||
return [NSNull null];
|
||||
}
|
||||
return [super actionForLayer:layer forKey:event];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user