Open lokus1980 opened 6 years ago
I implemented it via turf-arc. But there are some bugs when crossing the dateline.
Wow, thanks Stephan! It's sad they have bugs, maybe there is some other lib which does it properly. Anyway, no rush, for now I can easily live with straight lines :)
On Tue, 4 Sep 2018 at 16:52, Stephan Georg notifications@github.com wrote:
I implemented it via turf-arc https://github.com/stepankuzmin/turf-arc#readme. But there are some bugs when crossing the dateline.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/StephanGeorg/staticmaps/issues/15#issuecomment-418260055, or mute the thread https://github.com/notifications/unsubscribe-auth/AgkFW1dfkSO1puWHZ-DXxnoQ37sM6q5Iks5uXiMZgaJpZM4WW6Kc .
-- Regards/Pozdrawiam, Łukasz Szkup
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.
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!