summaryrefslogtreecommitdiff
path: root/include/mbgl
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2019-08-21 14:39:36 +0300
committerJuha Alanen <19551460+jmalanen@users.noreply.github.com>2019-09-18 14:29:15 +0300
commit8e19be9d9c7f66bff16f97066570e990fe09fd4e (patch)
tree5e63da429ae71040e160748e868b06716ff1b6b3 /include/mbgl
parent46eab5f1488570262b218dfaec99c476829ab21f (diff)
downloadqtlocation-mapboxgl-8e19be9d9c7f66bff16f97066570e990fe09fd4e.tar.gz
[core] Add support for set/getFeatureState APIs
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/renderer/renderer.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/mbgl/renderer/renderer.hpp b/include/mbgl/renderer/renderer.hpp
index f1800dbfb8..32cf4a91c4 100644
--- a/include/mbgl/renderer/renderer.hpp
+++ b/include/mbgl/renderer/renderer.hpp
@@ -49,6 +49,18 @@ public:
const std::string& extensionField,
const optional<std::map<std::string, Value>>& args = {}) const;
+ void setFeatureState(const std::string& sourceID,
+ const optional<std::string>& sourceLayerID,
+ const std::string& featureID,
+ const FeatureState& state);
+
+ void getFeatureState(FeatureState& state,
+ const std::string& sourceID,
+ const optional<std::string>& sourceLayerID,
+ const std::string& featureID) const;
+
+
+
// Debug
void dumpDebugLogs();