summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/symbol_layer_properties.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/layers/symbol_layer_properties.hpp')
-rw-r--r--src/mbgl/style/layers/symbol_layer_properties.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mbgl/style/layers/symbol_layer_properties.hpp b/src/mbgl/style/layers/symbol_layer_properties.hpp
index 0c2bcd2661..59d65b3c86 100644
--- a/src/mbgl/style/layers/symbol_layer_properties.hpp
+++ b/src/mbgl/style/layers/symbol_layer_properties.hpp
@@ -214,6 +214,11 @@ struct TextVariableAnchor : LayoutProperty<std::vector<TextVariableAnchorType>>
static std::vector<TextVariableAnchorType> defaultValue() { return { }; }
};
+struct TextWritingMode : LayoutProperty<std::vector<TextWritingModeType>> {
+ static constexpr const char *name() { return "text-writing-mode"; }
+ static std::vector<TextWritingModeType> defaultValue() { return { }; }
+};
+
struct IconColor : DataDrivenPaintProperty<Color, attributes::fill_color, uniforms::fill_color> {
static Color defaultValue() { return Color::black(); }
};
@@ -313,7 +318,8 @@ class SymbolLayoutProperties : public Properties<
TextRotationAlignment,
TextSize,
TextTransform,
- TextVariableAnchor
+ TextVariableAnchor,
+ TextWritingMode
> {};
class SymbolPaintProperties : public Properties<