Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I use osm map in my project and I want to draw shortest line between two point like this:
How do they draw this path? Give me please a clue )
I found answer!)
Just need haversine formula to calculate distance in rad, then use formula from here: Ed Williams, Aviation Formulary
Required, but never shown