WindDirection from point to point (or location)
-
26-10-2019 - |
Question
I have two points. Now is it possible to tell what windDirection one point is from another (eg Africa lays south of Europe)?
Solution
Perhaps Location.bearingTo(Location) is what you're looking for.
http://developer.android.com/reference/android/location/Location.html
You'd just need to map ranges of return values to north, east, etc.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow