Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bearing between two points #2

Open
lukepighetti opened this issue Oct 11, 2021 · 2 comments
Open

Bearing between two points #2

lukepighetti opened this issue Oct 11, 2021 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lukepighetti
Copy link

lukepighetti commented Oct 11, 2021

Is calculating the bearing between two points within scope of this library?

Is it implemented?

If not, is there a known algorithm that will accurately calculate the bearing between two points?

Use case: I'm standing at point A, what compass bearing should I use to walk in a straight line to reach point B?

@jifalops
Copy link
Owner

@jifalops jifalops added enhancement New feature or request good first issue Good for newcomers labels May 21, 2023
@Koboo
Copy link

Koboo commented Feb 12, 2024

@jifalops

I think he is searching for something like geolocator's bearingBetween method, to get the compass bearing of two lat/lng points. Here is a reference link to geolocator's solution:

https://github.com/Baseflow/flutter-geolocator/blob/ea54bac8dc5e5e05625658b739f95199113a36a5/geolocator_platform_interface/lib/src/geolocator_platform_interface.dart#L263

You could somewhat describe it as compass direction, but that's not really the correct wording here. :D

More sources and references:

@jifalops jifalops added help wanted Extra attention is needed and removed good first issue Good for newcomers labels Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants