There are plenty of apps - free and paid - that allow you to use offline maps. I typically use Maps.me when I'm abroad (remember to download the map areas you need before you leave home).
The tricky part is whether your phone's GPS will work on board. Ideally you need a window seat, and there are suggestions that you shouldn't fly on a 787 with its smart windows.