在 React Native 中使用 navigator.geolocation.getCurrentPosition 显示哪个单元的准确性?
In which unit is showed the accuracy using navigator.geolocation.getCurrentPosition in React Native?
我正在使用 navigator.geolocation.getCurrentPosition()
函数获取我的 phone 的当前位置。
它 return 向我提供了很多信息,例如纬度、经度...还有准确性。我想知道精度使用的单位是什么,因为我没有关于它的信息,它只是 return 一个数字。
比如我得到returnedaccuracy: 921
,是米吗?他们是英里吗?我没有找到关于它的文档。
而且我想知道准确度的最大值是多少,如果存在最大值的话
精度以米表示,就像 Mozilla Docs:
中描述的那样
The Coordinates.accuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the Coordinates.latitude and Coordinates.longitude properties expressed in meters.
来源:https://developer.mozilla.org/en-US/docs/Web/API/Coordinates/altitude
我正在使用 navigator.geolocation.getCurrentPosition()
函数获取我的 phone 的当前位置。
它 return 向我提供了很多信息,例如纬度、经度...还有准确性。我想知道精度使用的单位是什么,因为我没有关于它的信息,它只是 return 一个数字。
比如我得到returnedaccuracy: 921
,是米吗?他们是英里吗?我没有找到关于它的文档。
而且我想知道准确度的最大值是多少,如果存在最大值的话
精度以米表示,就像 Mozilla Docs:
中描述的那样The Coordinates.accuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the Coordinates.latitude and Coordinates.longitude properties expressed in meters.
来源:https://developer.mozilla.org/en-US/docs/Web/API/Coordinates/altitude