I've been researching ways to geolocalize a device and found these four types in a summarized way:
GPS is the most accurate way to determine positioning, but it is even energy-efficient than other options and sometimes requires a long boot time. A-GPS uses triangulation between cell towers and public poles to determine location. Although not as accurate as GPS, GPS-A is sufficient for many scenarios. Mobile devices that support Wi-Fi hotspots can use hotspots to determine the user's location. Stationary computers without wireless devices can get approximate location information using known IP address ranges.
GPS, A-GPS and IP I understand the whole process. But when I try to understand the geolocation through Wi-Fi, it is not clear to me, after it has processed my local network signal, what does it do next: send data via GPS? Or does the system infers positioning by IP? Do you use A-GPS?
Looking at the W3C Geolocation API, I get to know the data I received, but I do not know how it captures (all notebooks and smartphones have dedicated hardware).