diff options
author | Molly Lloyd <molly@mapbox.com> | 2017-03-27 18:02:48 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-03-28 11:06:58 -0700 |
commit | e9cc666390e4590bcf65df9546e4bf823462696a (patch) | |
tree | 960383483886ca64d40159266eb97414f04c3e70 /platform | |
parent | 6fa578aa4e372c8d91dc617970386290e4571d5c (diff) | |
download | qtlocation-mapboxgl-e9cc666390e4590bcf65df9546e4bf823462696a.tar.gz |
[node] fix node bindings :bug:
Diffstat (limited to 'platform')
-rw-r--r-- | platform/node/src/node_map.cpp | 2 |
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); |