Google is not using exclusively DBs like MaxMind for geolocation though. They fuse a lot of data together and probably can even discern which building you're on from the other local network devices without the precise geolocation sharing.
Like the Meta/Yandex apps were doing, just not strictly for position tracking, but more centered toward pinpointing your unique id.