diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-21 16:45:28 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-21 17:23:34 -0700 |
commit | ab97e6012c209f5ab48731750c5286c1ca2b9b5e (patch) | |
tree | 8038824ed5f8bb9f0596c02766453b7ae3caac38 | |
parent | d4c98cabf3d2a8d224c9ef0acce02f8a6e1695a8 (diff) | |
download | qtlocation-mapboxgl-ab97e6012c209f5ab48731750c5286c1ca2b9b5e.tar.gz |
[core] Fix default value for text-max-width
Fixes #4788
-rw-r--r-- | src/mbgl/layer/symbol_layer.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/layer/symbol_layer.hpp b/src/mbgl/layer/symbol_layer.hpp index 95d71bb3cb..7e0927ed7b 100644 --- a/src/mbgl/layer/symbol_layer.hpp +++ b/src/mbgl/layer/symbol_layer.hpp @@ -30,7 +30,7 @@ public: LayoutProperty<std::string> textField { "" }; LayoutProperty<std::string> textFont { "Open Sans Regular, Arial Unicode MS Regular" }; LayoutProperty<float> textSize { 16.0f }; - LayoutProperty<float> textMaxWidth { 15.0f /* em */ }; + LayoutProperty<float> textMaxWidth { 10.0f /* em */ }; LayoutProperty<float> textLineHeight { 1.2f /* em */ }; LayoutProperty<float> textLetterSpacing { 0.0f /* em */ }; LayoutProperty<TextJustifyType> textJustify { TextJustifyType::Center }; |