diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-02-27 19:01:29 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-04 14:45:32 +0200 |
commit | f5f10ec11989ccb403c2cd4261db74c44b263558 (patch) | |
tree | 8c88ee24819281609206e36c719eef617acb52b6 /test/api/query.test.cpp | |
parent | 491fce68790e05cd0a876815751dc5cb72a2761e (diff) | |
download | qtlocation-mapboxgl-f5f10ec11989ccb403c2cd4261db74c44b263558.tar.gz |
[core] Remove map zoom setters/getters
Diffstat (limited to 'test/api/query.test.cpp')
-rw-r--r-- | test/api/query.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api/query.test.cpp b/test/api/query.test.cpp index f5eb32788d..efda84baa9 100644 --- a/test/api/query.test.cpp +++ b/test/api/query.test.cpp @@ -59,7 +59,7 @@ std::vector<Feature> getTopClusterFeature(QueryTest& test) { clusterLayer->setIconImage("test-icon"s); clusterLayer->setIconSize(12.0f); - test.map.setLatLngZoom(coordinate, 0); + test.map.jumpTo(CameraOptions().withCenter(coordinate).withZoom(0.0)); test.map.getStyle().addSource(std::move(source)); test.map.getStyle().addLayer(std::move(clusterLayer)); test.loop.runOnce(); |