[core, node] Implement bindings for addLayer

This commit is contained in:
John Firebaugh
2016-06-22 16:28:21 -07:00
parent c4e4cc5081
commit 16c435b151
83 changed files with 841 additions and 815 deletions

View File

@@ -1,7 +1,5 @@
#pragma once
#include "node_style.hpp"
#include <mbgl/map/map.hpp>
#include <mbgl/storage/file_source.hpp>
#include <mbgl/platform/default/headless_view.hpp>
@@ -28,14 +26,13 @@ public:
static NAN_METHOD(Render);
static NAN_METHOD(Release);
static NAN_METHOD(AddClass);
static NAN_METHOD(AddLayer);
static NAN_METHOD(SetLayoutProperty);
static NAN_METHOD(SetPaintProperty);
static NAN_METHOD(SetFilter);
static NAN_METHOD(DumpDebugLogs);
static NAN_METHOD(QueryRenderedFeatures);
static void setProperty(const Nan::FunctionCallbackInfo<v8::Value>&, const PropertySetters&);
void startRender(RenderOptions options);
void renderFinished();