Here's how you can quickly switch to compass mode in Google Maps for iOS.
1. Tap twice on the My Location button in the lower left part of the screen.
2. This will switch you immediately to compass mode.
For more, see the original article at the link below.