diff options
author | Eden Halperin <eden@mapbox.com> | 2014-07-26 09:18:42 -0700 |
---|---|---|
committer | Eden Halperin <eden@mapbox.com> | 2014-07-26 09:18:42 -0700 |
commit | 7a8a9fb339537a1f3c00b1bfedef05e4b64938ee (patch) | |
tree | a9dcc7ab1654fc3c396f60dec56867e0ec907e88 /include/mbgl/style | |
parent | 600e1d8a9e1a388f010b8fdf1f296eadfd2be67e (diff) | |
download | qtlocation-mapboxgl-7a8a9fb339537a1f3c00b1bfedef05e4b64938ee.tar.gz |
change text-max-angle to accept degrees and convert to radians
Diffstat (limited to 'include/mbgl/style')
-rw-r--r-- | include/mbgl/style/style_bucket.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/style_bucket.hpp b/include/mbgl/style/style_bucket.hpp index 6508abca20..26a0ca2f70 100644 --- a/include/mbgl/style/style_bucket.hpp +++ b/include/mbgl/style/style_bucket.hpp @@ -51,7 +51,7 @@ public: float vertical_alignment = 0.5; vec2<float> translate {0, 0}; TranslateAnchorType translate_anchor = TranslateAnchorType::Default; - float max_angle_delta = M_PI; + float max_angle_delta = 45.0f; float min_distance = 250.0f; float rotate = 0.0f; // what is this? float padding = 2.0f; |