开发者

How is coords.accuracy measured, what unit is it in?

How is coords.accuracy measured, what unit开发者_JAVA技巧 is it in?

The goal is to use it to determine a radius of error when finding a location.


It is typically expressed in meters.

The Geolocation API specified by W3C says:

The accuracy attribute denotes the accuracy level of the latitude and longitude coordinates. It is specified in meters and must be supported by all implementations. The value of the accuracy attribute must be a non-negative real number.

It's meters for PhoneGap, Google's various geo APIs, and so on. It's almost certain that meters are the unit of measurement in whatever you're using.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜