From 69b52367d35616850b73b03f807ab5c0747c5187 Mon Sep 17 00:00:00 2001 From: Asheem Mamoowala Date: Fri, 25 Aug 2017 16:11:24 -0700 Subject: [core][ios][macos][android]DDS-ify `text-letter-spacing` and `text-max-width` --- include/mbgl/style/conversion/make_property_setters.hpp | 4 ++-- include/mbgl/style/layers/symbol_layer.hpp | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'include/mbgl') diff --git a/include/mbgl/style/conversion/make_property_setters.hpp b/include/mbgl/style/conversion/make_property_setters.hpp index ef96f534a9..59b0e7be32 100644 --- a/include/mbgl/style/conversion/make_property_setters.hpp +++ b/include/mbgl/style/conversion/make_property_setters.hpp @@ -52,9 +52,9 @@ auto makeLayoutPropertySetters() { result["text-field"] = &setProperty, &SymbolLayer::setTextField>; result["text-font"] = &setProperty>, &SymbolLayer::setTextFont>; result["text-size"] = &setProperty, &SymbolLayer::setTextSize>; - result["text-max-width"] = &setProperty, &SymbolLayer::setTextMaxWidth>; + result["text-max-width"] = &setProperty, &SymbolLayer::setTextMaxWidth>; result["text-line-height"] = &setProperty, &SymbolLayer::setTextLineHeight>; - result["text-letter-spacing"] = &setProperty, &SymbolLayer::setTextLetterSpacing>; + result["text-letter-spacing"] = &setProperty, &SymbolLayer::setTextLetterSpacing>; result["text-justify"] = &setProperty, &SymbolLayer::setTextJustify>; result["text-anchor"] = &setProperty, &SymbolLayer::setTextAnchor>; result["text-max-angle"] = &setProperty, &SymbolLayer::setTextMaxAngle>; diff --git a/include/mbgl/style/layers/symbol_layer.hpp b/include/mbgl/style/layers/symbol_layer.hpp index 2d5123573f..a72baa0b4e 100644 --- a/include/mbgl/style/layers/symbol_layer.hpp +++ b/include/mbgl/style/layers/symbol_layer.hpp @@ -126,17 +126,17 @@ public: DataDrivenPropertyValue getTextSize() const; void setTextSize(DataDrivenPropertyValue); - static PropertyValue getDefaultTextMaxWidth(); - PropertyValue getTextMaxWidth() const; - void setTextMaxWidth(PropertyValue); + static DataDrivenPropertyValue getDefaultTextMaxWidth(); + DataDrivenPropertyValue getTextMaxWidth() const; + void setTextMaxWidth(DataDrivenPropertyValue); static PropertyValue getDefaultTextLineHeight(); PropertyValue getTextLineHeight() const; void setTextLineHeight(PropertyValue); - static PropertyValue getDefaultTextLetterSpacing(); - PropertyValue getTextLetterSpacing() const; - void setTextLetterSpacing(PropertyValue); + static DataDrivenPropertyValue getDefaultTextLetterSpacing(); + DataDrivenPropertyValue getTextLetterSpacing() const; + void setTextLetterSpacing(DataDrivenPropertyValue); static DataDrivenPropertyValue getDefaultTextJustify(); DataDrivenPropertyValue getTextJustify() const; -- cgit v1.2.1