summaryrefslogtreecommitdiff
path: root/test/map/prefetch.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/map/prefetch.test.cpp')
-rw-r--r--test/map/prefetch.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/map/prefetch.test.cpp b/test/map/prefetch.test.cpp
index 9b61224027..9e513d61cd 100644
--- a/test/map/prefetch.test.cpp
+++ b/test/map/prefetch.test.cpp
@@ -58,7 +58,7 @@ TEST(Map, PrefetchTiles) {
// Force tile reloading.
map.getStyle().loadJSON(util::read_file("test/fixtures/map/prefetch/empty.json"));
map.getStyle().loadJSON(util::read_file("test/fixtures/map/prefetch/style.json"));
- map.setLatLngZoom({ 40.726989, -73.992857 }, zoom); // Manhattan
+ map.jumpTo(CameraOptions().withCenter(LatLng { 40.726989, -73.992857 }).withZoom(zoom)); // Manhattan
runLoop.run();
ASSERT_EQ(tiles.size(), expected.size());