Leaflet API - Issue plotting route between long distances

926 Views Asked by At

I am using leaflet API. Trying to draw flight paths based on a series of latitude longitudes. Can someone point me to the solution to the issue below? How can I ensure the path drawn is between the shortest pair of the same locations on the map, rather than two fixed locations with an unwanted straight line between the two route parts?

enter image description here

0

There are 0 best solutions below