summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLTypes.h')
-rw-r--r--platform/darwin/src/MGLTypes.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLTypes.h b/platform/darwin/src/MGLTypes.h
index 65cebbe5f4..8bc6f67fac 100644
--- a/platform/darwin/src/MGLTypes.h
+++ b/platform/darwin/src/MGLTypes.h
@@ -70,6 +70,21 @@ typedef NS_OPTIONS(NSUInteger, MGLMapDebugMaskOptions) {
#endif
};
+/**
+ A structure containing information about a transition values.
+ */
+typedef struct MGLTransition {
+ /**
+ The duration in seconds to animate any changes to the style URL or to layout and paint attributes.
+ */
+ NSTimeInterval duration;
+
+ /**
+ The delay in seconds to before applying any changes to the style URL or to layout and paint attributes.
+ */
+ NSTimeInterval delay;
+} MGLTransition;
+
NS_ASSUME_NONNULL_END
#ifndef NS_ARRAY_OF