summaryrefslogtreecommitdiff
path: root/platform/node/src/node_map.hpp
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2019-08-28 13:34:11 +0300
committerJuha Alanen <19551460+jmalanen@users.noreply.github.com>2019-09-18 14:29:15 +0300
commita186e6a27d79ca3ed1eb6fadce656df5e0e2b89f (patch)
treef80803d4318b1fefbb031b695b6b60ce5e52557e /platform/node/src/node_map.hpp
parentfd179de6fb8ddc170db66d028ac7fe871b84394a (diff)
downloadqtlocation-mapboxgl-a186e6a27d79ca3ed1eb6fadce656df5e0e2b89f.tar.gz
[node] Add support for feature state APIs
Diffstat (limited to 'platform/node/src/node_map.hpp')
-rw-r--r--platform/node/src/node_map.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/node/src/node_map.hpp b/platform/node/src/node_map.hpp
index 486754c1c3..381e10381b 100644
--- a/platform/node/src/node_map.hpp
+++ b/platform/node/src/node_map.hpp
@@ -64,6 +64,10 @@ public:
static void DumpDebugLogs(const Nan::FunctionCallbackInfo<v8::Value>&);
static void QueryRenderedFeatures(const Nan::FunctionCallbackInfo<v8::Value>&);
+ static void SetFeatureState(const Nan::FunctionCallbackInfo<v8::Value>&);
+ static void GetFeatureState(const Nan::FunctionCallbackInfo<v8::Value>&);
+ static void RemoveFeatureState(const Nan::FunctionCallbackInfo<v8::Value>&);
+
static v8::Local<v8::Value> ParseError(const char* msg);
void startRender(RenderOptions options);