diff options
Diffstat (limited to 'platform/node/src/node_feature.hpp')
-rw-r--r-- | platform/node/src/node_feature.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/platform/node/src/node_feature.hpp b/platform/node/src/node_feature.hpp new file mode 100644 index 0000000000..7973ee19d4 --- /dev/null +++ b/platform/node/src/node_feature.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include <mbgl/util/feature.hpp> + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wshadow" +#include <nan.h> +#pragma GCC diagnostic pop + +namespace node_mbgl { + +v8::Local<v8::Value> toJS(const mbgl::Value&); +v8::Local<v8::Object> toJS(const mbgl::Feature&); +v8::Local<v8::Object> toJS(const mbgl::Feature::geometry_type&); +v8::Local<v8::Object> toJS(const mbgl::Feature::property_map&); + +} |