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/util/memory.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/util') diff --git a/test/util/memory.test.cpp b/test/util/memory.test.cpp index 6befb521f0..e92311226b 100644 --- a/test/util/memory.test.cpp +++ b/test/util/memory.test.cpp @@ -73,7 +73,7 @@ TEST(Memory, Vector) { HeadlessFrontend frontend { { 256, 256 }, ratio, test.fileSource, test.threadPool }; Map map(frontend, MapObserver::nullObserver(), frontend.getSize(), ratio, test.fileSource, test.threadPool, MapMode::Static); - map.setZoom(16); // more map features + map.jumpTo(CameraOptions().withZoom(16)); map.getStyle().loadURL("mapbox://streets"); frontend.render(map); @@ -123,7 +123,7 @@ TEST(Memory, Footprint) { FrontendAndMap(MemoryTest& test_, const char* style) : frontend(Size{ 256, 256 }, 2, test_.fileSource, test_.threadPool) , map(frontend, MapObserver::nullObserver(), frontend.getSize(), 2, test_.fileSource, test_.threadPool, MapMode::Static) { - map.setZoom(16); + map.jumpTo(CameraOptions().withZoom(16)); map.getStyle().loadURL(style); frontend.render(map); } -- cgit v1.2.1