summaryrefslogtreecommitdiff
path: root/test/style
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2018-11-23 16:25:24 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2018-11-27 21:38:36 +0200
commit20ca1a041868955524b3f2475ebc83760398ca82 (patch)
tree2745a77cbd0483d739af0eb0c5654fadfabf20a5 /test/style
parente8f7866e9e3328bb4d40da172fb5a549315fd486 (diff)
downloadqtlocation-mapboxgl-20ca1a041868955524b3f2475ebc83760398ca82.tar.gz
[core] Cleanup Transform, use {jump,ease}To() instead
Diffstat (limited to 'test/style')
-rw-r--r--test/style/source.test.cpp2
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();
}