This morning, while drinking coffee, I went to Googlemaps and found an interesting button “Show my location”.

When I clicked on the button, the browser asked “whether to allow the site to report my location,” I confirmed, and voila, my location was determined to within 150 meters.

The funny thing is that on the laptop (toshiba satellite l40) there are no gps-receivers, but the laptop is connected to the network in the usual way via a wifi card (Tp-Link WA-601G).
Collected laptop went to work, at work connected to the network via an ethernet cable, decided to check if it will find me?
And voila:

True at work you can see 2 wi-fi points, but I'm not connected to them.
It became interesting how it all works. Rummaged through the help center, then cut:
.: Google ?
.: Google " ", . " ", Google. , . Wi-Fi , , IP- , , .The most interesting thing about
how is the “analysis of Wi-Fi wireless access points” performed?and
how does google know where each point is located?Your idea% username%?
')
UPD. This feature works on the latest versions of Opera, FireFox, Chrome
UPD2. The version about the definition of the ip address is not correct, they substituted another external ip address, the coordinates are determined correctly (checked on a separate machine).
UPD3.
The answer is found . Thank you,
YasonBy !