What weight is the original bearing in return from Location.distanceBetween ()

When calling Location.distanceBetween () and getting the start and end bearings, what weight is the bearing? I get negative values, which makes no sense to me. The bearing goes from 0 to 360 degrees (relative or absolute, it does not matter). The only thing I could think of was from N to E to S - from 0 to 180 degrees, and from N to W to S - from 0 to -180 degrees.

Can someone shed some light on this?

+4
source share
1 answer

As you have already concluded:

The description of the function refers to degrees east of the true North. The true North is geographic, which is somewhat different from the North, determined by terrestrial magnetism (south magnetic pole).

So, if you are moving east, your foot is 90 degrees, if you are moving south, it is +180 or - 180, if you are moving west, it is -90 degrees.

+10
source

All Articles