summaryrefslogtreecommitdiff
path: root/platform/node
diff options
context:
space:
mode:
authorMolly Lloyd <molly@mapbox.com>2017-03-27 18:02:48 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-03-28 11:06:58 -0700
commite9cc666390e4590bcf65df9546e4bf823462696a (patch)
tree960383483886ca64d40159266eb97414f04c3e70 /platform/node
parent6fa578aa4e372c8d91dc617970386290e4571d5c (diff)
downloadqtlocation-mapboxgl-e9cc666390e4590bcf65df9546e4bf823462696a.tar.gz
[node] fix node bindings :bug:
Diffstat (limited to 'platform/node')
-rw-r--r--platform/node/src/node_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/src/node_map.cpp b/platform/node/src/node_map.cpp
index c3c26a9948..674aae7451 100644
--- a/platform/node/src/node_map.cpp
+++ b/platform/node/src/node_map.cpp
@@ -63,7 +63,7 @@ void NodeMap::Init(v8::Local<v8::Object> target) {
Nan::SetPrototypeMethod(tpl, "addLayer", AddLayer);
Nan::SetPrototypeMethod(tpl, "removeLayer", RemoveLayer);
Nan::SetPrototypeMethod(tpl, "addImage", AddImage);
- Nan::SetPrototypeMethod(tpl, "removeImage", RemoveLayer);
+ Nan::SetPrototypeMethod(tpl, "removeImage", RemoveImage);
Nan::SetPrototypeMethod(tpl, "setLayoutProperty", SetLayoutProperty);
Nan::SetPrototypeMethod(tpl, "setPaintProperty", SetPaintProperty);
Nan::SetPrototypeMethod(tpl, "setFilter", SetFilter);