Kindly refer to the following links:

How to pray on a Plane?

How to know Qibla direction if you visit a new place & What if you prayed in the wrong direction 

How to pray in the plane when going east or west when the difference is too much? 


Is it permissible to do pray and do salaah whilst traveling on public/private transport? (website)

Prayer on the plane

Related Article(s): 

How to perform Tayammum on a plane to uplift major impurity? 

Major impurity due to wet dream /end of menses while traveling, can't perform ghusl