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
{{ message }}
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.
/** * Returns the angle in degrees between the vector from the start to the destination * and the x-axis on which the start is located. * * The angle describes in which direction the destination is located from the start, i.e., * 0° -> East, 90° -> South, 180° -> West, 270° -> North * * @param startLon longitude of start location * @param startLat latitude of start location * @param destLon longitude of destination * @param destLat latitude of destination * @return The direction from start to destination location */publicstaticintgetDirectionAngle(
floatstartLon, floatstartLat, floatdestLon, floatdestLat)
Or maybe I am wrong? Looking forward for feedback, thanks in advance.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
i think i have found a small problem in the example.
This commit in my fork contains the fix.
The line
should be
because the GeoUtils API says
Or maybe I am wrong? Looking forward for feedback, thanks in advance.
The text was updated successfully, but these errors were encountered: