diff options
Diffstat (limited to 'platform/darwin/src/MGLStyle.h')
-rw-r--r-- | platform/darwin/src/MGLStyle.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLStyle.h b/platform/darwin/src/MGLStyle.h index 9bd35142c2..25096748f6 100644 --- a/platform/darwin/src/MGLStyle.h +++ b/platform/darwin/src/MGLStyle.h @@ -442,6 +442,22 @@ MGL_EXPORT */ - (void)removeImageForName:(NSString *)name; +#pragma mark Managing a Style’s Transition Options + +/** + The duration in seconds to animate any changes to the style URL or to layout and paint attributes. + + By default, this property is set to zero seconds, so any changes take effect without animation. + */ +@property (nonatomic) NSTimeInterval transitionDuration; + +/** + The delay in seconds to before applying any changes to the style URL or to layout and paint attributes. + + By default, this property is set to zero seconds, so any changes begin to animate immediately. + */ +@property (nonatomic) NSTimeInterval transitionDelay; + @end NS_ASSUME_NONNULL_END |