如何让WiFi热点的位置?热点、位置、WiFi

2023-09-06 05:56:31 作者:像个笑话

我想写,它可以记录我们访问的WiFi热点的位置,并在地图上显示它们的应用程序。但问题是 - 我怎么wifi热点的位置? 我想我可以使用WiFi信号来获取WiFi热点的位置,但它可能不是很准确,在第一次。如果没有其他的解决方案,我可以记录GPS的位置,当接入WiFi热点在第一时间。

I want to write an application that it can record the wifi hotspot's location we are accessing and display them in map. But the problem is - how do I get wifi hotspot's location? I think I can use the wifi signal to get the wifi hotspot's location, but it may not be very accuracy at first time. And if there is no other solution, I could record the location of GPS when access wifi hotspot at the first time.

推荐答案

您将无法找到热点的位置,你就无法从当前位置到实际热点确定方向和距离。

You'll not be able to find the hotspots location and you'll not be able to determine the direction and distance from your current position to the actual hotspot.

在热点不报告自己的坐标为(我的WiFi设备甚至不知道这是自己的地理坐标)。谷歌拍摄的过程中他们的街景任务热点和使用结果进行三角WiFi热点的位置和其他公司也一样,建立数据库。

The hotspots don't report their coordinates (my wifi box doesn't even know it's own geographical coordinates). Google captured hotspots during their streetview missions and used the results to triangulate the positions of wifi hotspots and other companies did the same to build up databases.

因此​​,要获得信息,你需要访问该知道热点的坐标数据库。

So to get the information, you'll need access to a database that knows the coordinates of hotspots.