[core] Use geometry.hpp feature type
This commit is contained in:
18
platform/node/src/node_feature.hpp
Normal file
18
platform/node/src/node_feature.hpp
Normal file
@@ -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&);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user