This is possible because GPS operates without reliance on any cellular data or WiFi network. It is a radio that gets its data from satellites, so it is nothing like a Bluetooth radio, cellular, or WiFi device.