Now i upgrade 2 case, when airports are on almost same line.
Horizontal and vertical line.
I took care of maximum and minimum values (-90,90) and (-180,180).