From ab97e6012c209f5ab48731750c5286c1ca2b9b5e Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 21 Apr 2016 16:45:28 -0700 Subject: [PATCH] [core] Fix default value for text-max-width Fixes #4788 --- src/mbgl/layer/symbol_layer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbgl/layer/symbol_layer.hpp b/src/mbgl/layer/symbol_layer.hpp index 95d71bb3c..7e0927ed7 100644 --- a/src/mbgl/layer/symbol_layer.hpp +++ b/src/mbgl/layer/symbol_layer.hpp @@ -30,7 +30,7 @@ public: LayoutProperty textField { "" }; LayoutProperty textFont { "Open Sans Regular, Arial Unicode MS Regular" }; LayoutProperty textSize { 16.0f }; - LayoutProperty textMaxWidth { 15.0f /* em */ }; + LayoutProperty textMaxWidth { 10.0f /* em */ }; LayoutProperty textLineHeight { 1.2f /* em */ }; LayoutProperty textLetterSpacing { 0.0f /* em */ }; LayoutProperty textJustify { TextJustifyType::Center };