From f5f10ec11989ccb403c2cd4261db74c44b263558 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Wed, 27 Feb 2019 19:01:29 +0200 Subject: [core] Remove map zoom setters/getters --- test/api/query.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/api/query.test.cpp') 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 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(); -- cgit v1.2.1