summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-07-21 11:19:47 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-07-21 11:30:51 -0700
commit86336ed8383f408d8faf92b88267c8d7435394ce (patch)
tree9993191ddd0496a5f45bc09be0da2565e950d5ec /test
parentc76ef7700c5ef859e270562203cc1d9af2aea00c (diff)
downloadqtlocation-mapboxgl-86336ed8383f408d8faf92b88267c8d7435394ce.tar.gz
Flip name and units and sign of rotation API
Angle -> Bearing Radians -> Degrees Clockwise -> Counterclockwise
Diffstat (limited to 'test')
-rw-r--r--test/headless.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/headless.cpp b/test/headless.cpp
index 18a17d6bdf..4838ca560c 100644
--- a/test/headless.cpp
+++ b/test/headless.cpp
@@ -74,7 +74,7 @@ TEST_P(HeadlessTest, render) {
view.resize(width, height);
map.resize(width, height);
map.setLonLatZoom(longitude, latitude, zoom);
- map.setAngle(bearing);
+ map.setBearing(bearing);
// Run the loop. It will terminate when we don't have any further listeners.
map.run();