Fixed build.

Google map does not work

tags: #issue[34]
This commit is contained in:
William Muir
2017-08-03 11:26:44 +12:00
parent 87ef37a689
commit 8e24c204fd
2 changed files with 4 additions and 3 deletions
@@ -44,7 +44,7 @@ public class GeoUtility {
* and end up on a heading of 120°
*/
public static Double getBearing(GeoPoint p1, GeoPoint p2) {
return (getBearingRad(p1, p2) + 360.0) % 360.0;
return (Math.toDegrees(getBearingRad(p1, p2)) + 360.0) % 360.0;
}
/**