It was Top Gun. The navigation trick was when Mav, well you see, he flew upside down and over the MIG when he took the picture.
Goose explains it pretty well.
Sorry, a bit off kilter today with my humor. I have no idea of the movie but I'd probably try to give it a view it the title is found.
_________________________
Don't just survive. Thrive.