Your phone shows your location on the map using GPS, GLONASS, A-GPS, Wi-Fi, or network (Cell ID) based positioning.
The Assisted GPS (A-GPS) network service and other similar enhancements to GPS and Glonass retrieve location info using the cellular network, and assists in calculating your current location.
A-GPS and other enhancements to GPS and GLONASS may require transferring small amounts of data over the cellular network. If you want to avoid data costs, for example when traveling, you can turn the mobile data connection off in your phone settings.
Wi-Fi positioning improves positioning accuracy when satellite signals are not available, especially when you are indoors or between tall buildings. If you're in a place where the use of Wi-Fi is restricted, you can turn Wi-Fi off in your phone settings.
Using Wi-Fi may be restricted in some countries. For example, in the USA and Canada, you are only allowed to use 5.15–5.25 GHz Wi-Fi indoors. For more info, contact your local authorities.
The trip meter may not be accurate, depending on the availability and quality of your satellite connection.