Skip to content
New issue

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

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

Already on GitHub? # to your account

Support for geodesic lines #15

Open
lokus1980 opened this issue Sep 3, 2018 · 3 comments
Open

Support for geodesic lines #15

lokus1980 opened this issue Sep 3, 2018 · 3 comments

Comments

@lokus1980
Copy link

Hello, as a new feature it would be great if the library would support drawing geodesic lines that follow the curvature of the Earth. Especially useful when connecting two very distant places. In this case, a straight line does not look good. Would be great to have a flag so we can choose between these two line styles. Thanks!

@StephanGeorg
Copy link
Owner

I implemented it via turf-arc. But there are some bugs when crossing the dateline.

@lokus1980
Copy link
Author

lokus1980 commented Sep 6, 2018 via email

@StephanGeorg
Copy link
Owner

No, it's more a mathematical thing than a software bug. In the meantime you can calculate the geodesic path and add the coordinates as a polyline.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants