summaryrefslogtreecommitdiff
path: root/include/mbgl/layer/symbol_layer.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-04-27 15:57:48 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-02 14:51:39 -0700
commit67ee51360c1bf72d54544cecb8d8fd638ad4df14 (patch)
treebb6275dc6e667e2b14d97e9fd640bcc9240a6a6a /include/mbgl/layer/symbol_layer.hpp
parentcadc617c762d453cca2c9bac41f9c1db984c5fac (diff)
downloadqtlocation-mapboxgl-67ee51360c1bf72d54544cecb8d8fd638ad4df14.tar.gz
[core] Add Filter accessors
Diffstat (limited to 'include/mbgl/layer/symbol_layer.hpp')
-rw-r--r--include/mbgl/layer/symbol_layer.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbgl/layer/symbol_layer.hpp b/include/mbgl/layer/symbol_layer.hpp
index 2339515201..006506b3d8 100644
--- a/include/mbgl/layer/symbol_layer.hpp
+++ b/include/mbgl/layer/symbol_layer.hpp
@@ -3,6 +3,7 @@
#pragma once
#include <mbgl/style/layer.hpp>
+#include <mbgl/style/filter.hpp>
#include <mbgl/style/property_value.hpp>
#include <vector>
@@ -20,6 +21,9 @@ public:
const std::string& getSourceID() const;
const std::string& getSourceLayer() const;
+ void setFilter(const Filter&);
+ const Filter& getFilter() const;
+
// Layout properties
PropertyValue<SymbolPlacementType> getSymbolPlacement() const;