summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Guerra <fabian.guerra@mapbox.com>2017-02-27 11:33:00 -0500
committerJustin R. Miller <incanus@codesorcery.net>2017-03-06 17:09:25 -0800
commitdb282217d88c270aefd237d7c8633f51a36d954a (patch)
tree4c4c58c6cbb5b7f95ea1d6049caa1d3b3fbd6a1d
parent32115a9a4eb339e688f54cb0c9206474c312a72a (diff)
downloadqtlocation-mapboxgl-db282217d88c270aefd237d7c8633f51a36d954a.tar.gz
[ios] MGLTransition struct moved to MGLTypes.h
-rw-r--r--platform/darwin/src/MGLStyle.h15
-rw-r--r--platform/darwin/src/MGLTypes.h15
2 files changed, 15 insertions, 15 deletions
diff --git a/platform/darwin/src/MGLStyle.h b/platform/darwin/src/MGLStyle.h
index e0bc5b70e9..925abbaaee 100644
--- a/platform/darwin/src/MGLStyle.h
+++ b/platform/darwin/src/MGLStyle.h
@@ -30,21 +30,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
static MGL_EXPORT const NSInteger MGLStyleDefaultVersion = 9;
-/**
- 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;
-
/**
The proxy object for the current map style.
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