summaryrefslogtreecommitdiff
path: root/src/mbgl/text/placement.hpp
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2017-11-13 17:09:58 -0800
committerChris Loer <chris.loer@gmail.com>2017-11-13 17:15:23 -0800
commitd6d469aff8a00e86c45c963b44ef1a20051fd67a (patch)
tree13086cf9586ecdfb5d8b462eee4b998a4a097c63 /src/mbgl/text/placement.hpp
parent09159d8c67a1e006d9f29c5d6dcce97004b55ea0 (diff)
downloadqtlocation-mapboxgl-d6d469aff8a00e86c45c963b44ef1a20051fd67a.tar.gz
Less fading for line labels.
Diffstat (limited to 'src/mbgl/text/placement.hpp')
-rw-r--r--src/mbgl/text/placement.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/text/placement.hpp b/src/mbgl/text/placement.hpp
index c6d1f259a5..68de16a358 100644
--- a/src/mbgl/text/placement.hpp
+++ b/src/mbgl/text/placement.hpp
@@ -32,8 +32,8 @@ public:
class JointPlacement {
public:
- JointPlacement(bool text_, bool icon_, bool offscreen_)
- : text(text_), icon(icon_), offscreen(offscreen_)
+ JointPlacement(bool text_, bool icon_, bool offscreen_, bool lineLabel_)
+ : text(text_), icon(icon_), offscreen(offscreen_), lineLabel(lineLabel_)
{}
const bool text;
@@ -43,6 +43,7 @@ public:
// and if a subsequent viewport change brings them into view, they'll be fully
// visible right away.
const bool offscreen;
+ const bool lineLabel;
};
class Placement {