diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-11-23 16:25:24 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-11-27 21:38:36 +0200 |
commit | 20ca1a041868955524b3f2475ebc83760398ca82 (patch) | |
tree | 2745a77cbd0483d739af0eb0c5654fadfabf20a5 /test/style/source.test.cpp | |
parent | e8f7866e9e3328bb4d40da172fb5a549315fd486 (diff) | |
download | qtlocation-mapboxgl-20ca1a041868955524b3f2475ebc83760398ca82.tar.gz |
[core] Cleanup Transform, use {jump,ease}To() instead
Diffstat (limited to 'test/style/source.test.cpp')
-rw-r--r-- | test/style/source.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp index abd4350231..9bc955fd08 100644 --- a/test/style/source.test.cpp +++ b/test/style/source.test.cpp @@ -76,7 +76,7 @@ public: Log::setObserver(std::make_unique<Log::NullObserver>()); transform.resize({ 512, 512 }); - transform.setLatLngZoom({0, 0}, 0); + transform.jumpTo(CameraOptions().withCenter(LatLng()).withZoom(0.0)); transformState = transform.getState(); } |