【发布时间】:2016-06-20 10:40:23
【问题描述】:
我正在通过WIFI 和cable 连接使用局域网。两者都在相同的IP 下对外可见。
但不知何故,当我尝试获取地理位置 (longitude and latitude over HTML5 Geolocation API) 时,它会显示两个不同的地方,而且它们之间的距离有点远。
我注意到使用 WIFI 的结果非常准确。
你可以使用https://developers.google.com/maps/documentation/javascript/examples/map-geolocation试试这个
有人能解释一下这背后的原因吗?
PS:latitude differs by 0.0141216 points and longitudes differs by 0.0115545 points
【问题讨论】:
标签: javascript html geolocation