When I turn on maps, for navigation, do i need to run wifi and GPS, or just GPS?

I would assume just GPS, but I just wanna be sure in doing it right.

Thank You
-Bob