summaryrefslogtreecommitdiff
path: root/include/mbgl/style/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/types.hpp')
-rw-r--r--include/mbgl/style/types.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mbgl/style/types.hpp b/include/mbgl/style/types.hpp
index 13a2e50f01..06e549e37d 100644
--- a/include/mbgl/style/types.hpp
+++ b/include/mbgl/style/types.hpp
@@ -1,6 +1,7 @@
#pragma once
#include <cstdint>
+#include <vector>
namespace mbgl {
@@ -120,5 +121,11 @@ enum class LightAnchorType: bool {
Viewport
};
+class RadialOffsetType: public std::vector<float> {
+public:
+ template <typename... Args>
+ RadialOffsetType(Args&&... args) : std::vector<float>(std::forward<Args>(args)...) {}
+};
+
} // namespace style
} // namespace mbgl