summaryrefslogtreecommitdiff
path: root/test/api/annotations.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/api/annotations.test.cpp')
-rw-r--r--test/api/annotations.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api/annotations.test.cpp b/test/api/annotations.test.cpp
index c0c4f38cf9..a4534825a5 100644
--- a/test/api/annotations.test.cpp
+++ b/test/api/annotations.test.cpp
@@ -418,7 +418,7 @@ TEST(Annotations, VisibleFeatures) {
}
// Change bearing *after* adding annotations causes them to be reordered.
- test.map.setBearing(45);
+ test.map.jumpTo(CameraOptions().withAngle(45.0));
test.frontend.render(test.map);
auto features = test.frontend.getRenderer()->queryRenderedFeatures(box, {});