diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-02-28 12:27:12 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-04 14:45:32 +0200 |
commit | 73ac3c784fe755650dc631e2e722a47890981248 (patch) | |
tree | a31ef2c1473964af7641a5fc341b65fd840bf6a8 /platform/node | |
parent | 21a39306da56c5d2c88447ba5ea053a7f989480a (diff) | |
download | qtlocation-mapboxgl-73ac3c784fe755650dc631e2e722a47890981248.tar.gz |
[core] Remove map bearing setters/getters
Diffstat (limited to 'platform/node')
-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 f1a29145cf..74201554dd 100644 --- a/platform/node/src/node_map.cpp +++ b/platform/node/src/node_map.cpp @@ -976,7 +976,7 @@ void NodeMap::SetBearing(const Nan::FunctionCallbackInfo<v8::Value>& info) { } try { - nodeMap->map->setBearing(info[0]->NumberValue()); + nodeMap->map->jumpTo(mbgl::CameraOptions().withAngle(info[0]->NumberValue())); } catch (const std::exception &ex) { return Nan::ThrowError(ex.what()); } |