diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/style/layers/symbol_layer.hpp | 4 | ||||
-rw-r--r-- | include/mbgl/style/types.hpp | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/mbgl/style/layers/symbol_layer.hpp b/include/mbgl/style/layers/symbol_layer.hpp index 2493df6046..853c0b282e 100644 --- a/include/mbgl/style/layers/symbol_layer.hpp +++ b/include/mbgl/style/layers/symbol_layer.hpp @@ -186,6 +186,10 @@ public: const PropertyValue<std::vector<TextVariableAnchorType>>& getTextVariableAnchor() const; void setTextVariableAnchor(const PropertyValue<std::vector<TextVariableAnchorType>>&); + static PropertyValue<std::vector<TextWritingModeType>> getDefaultTextWritingMode(); + const PropertyValue<std::vector<TextWritingModeType>>& getTextWritingMode() const; + void setTextWritingMode(const PropertyValue<std::vector<TextWritingModeType>>&); + // Paint properties static PropertyValue<Color> getDefaultIconColor(); diff --git a/include/mbgl/style/types.hpp b/include/mbgl/style/types.hpp index 13a2e50f01..5d88dafb33 100644 --- a/include/mbgl/style/types.hpp +++ b/include/mbgl/style/types.hpp @@ -115,6 +115,11 @@ enum class IconTextFitType : uint8_t { Height }; +enum class TextWritingModeType : uint8_t { + Horizontal, + Vertical +}; + enum class LightAnchorType: bool { Map, Viewport |