coords.accuracy 是如何测量的,它是什么单位? [英] How is coords.accuracy measured, what unit is it in?

查看:53
本文介绍了coords.accuracy 是如何测量的,它是什么单位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

coords.accuracy 是如何测量的,单位是什么?

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

目标是在查找位置时使用它来确定误差半径.

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

推荐答案

通常以米表示.

W3C 指定的地理定位 API 说:

accuracy 属性表示纬度和经度坐标.它以米为单位指定,必须支持通过所有实现.精度属性的值必须是非负实数.

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.

它是用于 PhoneGap、Google 的各种地理 API 等的米.几乎可以肯定,无论您使用什么,米都是测量单位.

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.

这篇关于coords.accuracy 是如何测量的,它是什么单位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆