I’m currently traveling in Europe and I don’t have roaming on my cellphone, but somehow Google maps manage to know where I have been as soon as I connect to the hotel wi-fi.
GPS doesn’t require an internet connection. GPS units have existed long before smartphones, mobile data, etc. Your phone can still track your position while offline, and then send it to Google when you get back online.
Latest Answers