summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2018-08-10 15:15:24 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2018-08-13 12:39:44 -0700
commitd886d3e4c04801e57340f98761cf76eec29e969d (patch)
treec68db21c3c34d5a23584136d0ccd74a5fedb8c50 /include
parent58202eaf80bdfe1273396d2abe6b1fee8fed937a (diff)
downloadqtlocation-mapboxgl-d886d3e4c04801e57340f98761cf76eec29e969d.tar.gz
[core] Factor out setVisibility conversion
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/style/layer.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/style/layer.hpp b/include/mbgl/style/layer.hpp
index fee9f9121e..e0f71d2689 100644
--- a/include/mbgl/style/layer.hpp
+++ b/include/mbgl/style/layer.hpp
@@ -120,6 +120,7 @@ public:
// Dynamic properties
virtual optional<conversion::Error> setLayoutProperty(const std::string& name, const conversion::Convertible& value) = 0;
virtual optional<conversion::Error> setPaintProperty(const std::string& name, const conversion::Convertible& value) = 0;
+ optional<conversion::Error> setVisibility(const conversion::Convertible& value);
// Private implementation
class Impl;