1

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

IvanSanchez
  • 18,272
  • 3
  • 30
  • 45
everydaylearn
  • 143
  • 3
  • 14
  • 2
    You are hitting antimeridian artifacts. Please look at http://stackoverflow.com/questions/40532496/wrapping-lines-polygons-across-the-antimeridian-in-leaflet-js , as your issue is pretty much the same. – IvanSanchez Jan 16 '17 at 16:01
  • Check my solution to [this](https://stackoverflow.com/questions/34499212/adding-curved-flight-path-using-rs-leaflet-package/43884604) question. – sss Jan 08 '18 at 10:01

0 Answers0