Flip name and units and sign of rotation API

Angle -> Bearing
Radians -> Degrees
Clockwise -> Counterclockwise
This commit is contained in:
John Firebaugh
2014-07-21 11:19:47 -07:00
parent c76ef7700c
commit 86336ed838
9 changed files with 26 additions and 23 deletions

View File

@@ -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();