summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-05-21 12:01:24 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-05-23 11:50:05 +0300
commit7143408f69618828bb37b8f38d719d3ceeeec9c2 (patch)
tree094a1d373129c1288331e3d9079e1ef8aeac1693 /include
parent645dd25d0b8fa3ca39c2362083e7822f4a955fe4 (diff)
downloadqtlocation-mapboxgl-7143408f69618828bb37b8f38d719d3ceeeec9c2.tar.gz
[core] Implement MapDebugOptions::Wireframe
Together with MapDebugOptions::Collision, provides "wireframe" rendering output so all drawn objects are visible. This mode ignores the line width, background and fill colors for better visualization. Fixes #4359.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/mode.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/map/mode.hpp b/include/mbgl/map/mode.hpp
index 9302e36056..ae4328d6fd 100644
--- a/include/mbgl/map/mode.hpp
+++ b/include/mbgl/map/mode.hpp
@@ -42,6 +42,7 @@ enum class MapDebugOptions : EnumType {
ParseStatus = 1 << 2,
Timestamps = 1 << 3,
Collision = 1 << 4,
+ Wireframe = 1 << 5,
};
inline MapDebugOptions operator| (const MapDebugOptions& lhs, const MapDebugOptions& rhs) {