[core] Use geometry.hpp feature type

This commit is contained in:
John Firebaugh
2016-04-29 18:28:34 -07:00
parent 01b3eac52f
commit c8391729c7
37 changed files with 283 additions and 82 deletions

View 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&);
}