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 travelling, you can switch 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 switch Wi-Fi off in your phone settings.
The trip meter may not be accurate, depending on the availability and quality of your satellite connection.