You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yeah, I think that should probably be changed. It's only doing that for LINETYPE_STRAIGHT, but it should return the same value as it does for LINETYPE_GREATCIRCLE, since calculating the distance of straight lines doesn't really make sense. Thanks for the heads-up.
In OMDistance.java, the statement:
float latDist = (float) g2.getLatitude() - (float) g1.getLatitude();
latDist should in the unit of radians, but getLatitude() appears to return degree values.
The text was updated successfully, but these errors were encountered: