diff options
Diffstat (limited to 'platform/node')
-rw-r--r-- | platform/node/src/node_map.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/node/src/node_map.cpp b/platform/node/src/node_map.cpp index f737ddfd86..31259f8972 100644 --- a/platform/node/src/node_map.cpp +++ b/platform/node/src/node_map.cpp @@ -579,7 +579,6 @@ void NodeMap::SetLayoutProperty(const Nan::FunctionCallbackInfo<v8::Value>& info return Nan::ThrowTypeError(error->message.c_str()); } - nodeMap->map->update(mbgl::Update::RecalculateStyle); info.GetReturnValue().SetUndefined(); } @@ -617,7 +616,6 @@ void NodeMap::SetPaintProperty(const Nan::FunctionCallbackInfo<v8::Value>& info) return Nan::ThrowTypeError(error->message.c_str()); } - nodeMap->map->update(mbgl::Update::RecalculateStyle | mbgl::Update::Classes); info.GetReturnValue().SetUndefined(); } |