开发者

What scale is initial bearing in returned from Location.distanceBetween()

When calling Location.distanceBetween() and getting the initial and final bearing, what scale is the bearing in? I'm getting negative val开发者_JAVA技巧ues, which doesn't make sense to me. Bearing goes from 0 to 360 degrees (relative or absolute, it doesn't matter). The only thing I could think of is N through E through S is 0 through 180 degrees, and N through W through S is 0 through -180 degrees.

Can someone shed some light on this?


As you already concluded:

In the function description, degrees East of true North are mentioned. True North is geographical, which somewhat differs from North determined via Earth magnetism (South magnetic pole).

So, if you are moving towards East, your bearing is 90 degrees, if you are moving towards South it is +180 or - 180, if you are moving towards West it is -90 degrees.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜