If there is a WiFi and the network connection, then the coordinates are calculated approximately according to the power of WiFi hotspots in sight.
The coordinates of these points were "merged" in the network other device with WiFi, GPS and the Internet.
Here is a link -
How to determine location (GPS coordinates) of the WiFi access point, its MAC address or MAC addresses of nearby points?
You can try their point checking the database for example (mac address).