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.hpp25
1 files changed, 15 insertions, 10 deletions
diff --git a/include/mbgl/style/types.hpp b/include/mbgl/style/types.hpp
index 27b524a800..34e5642ec6 100644
--- a/include/mbgl/style/types.hpp
+++ b/include/mbgl/style/types.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <mbgl/util/enum.hpp>
+#include <cstdint>
namespace mbgl {
@@ -13,14 +13,6 @@ enum class SourceType : uint8_t {
Annotations
};
-MBGL_DEFINE_ENUM_CLASS(SourceTypeClass, SourceType, {
- { SourceType::Vector, "vector" },
- { SourceType::Raster, "raster" },
- { SourceType::GeoJSON, "geojson" },
- { SourceType::Video, "video" },
- { SourceType::Annotations, "annotations" },
-});
-
namespace style {
enum class VisibilityType : bool {
@@ -53,14 +45,20 @@ enum class RotateAnchorType : bool {
Viewport,
};
+enum class CirclePitchScaleType : bool {
+ Map,
+ Viewport,
+};
+
enum class SymbolPlacementType : bool {
Point,
Line,
};
-enum class RotationAlignmentType : bool {
+enum class AlignmentType : uint8_t {
Map,
Viewport,
+ Undefined,
};
enum class TextJustifyType : uint8_t {
@@ -87,5 +85,12 @@ enum class TextTransformType : uint8_t {
Lowercase,
};
+enum class IconTextFitType : uint8_t {
+ None,
+ Both,
+ Width,
+ Height
+};
+
} // namespace style
} // namespace mbgl