[android] - convert bearing value coming from core to degrees (#6526)

This commit is contained in:
Tobrun
2016-09-30 13:31:54 +02:00
committed by GitHub
parent 8c4da72d09
commit 2879b36a43
2 changed files with 2 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ public final class CameraPosition implements Parcelable {
super();
if (values != null && values.length == 5) {
this.target = new LatLng(values[0], values[1]);
this.bearing = (float) values[2];
this.bearing = Math.toDegrees(values[2]);
this.tilt = Math.toRadians(values[3]);
this.zoom = (float) values[4];
}