Google地图上的蓝色闪光灯(Arc) [英] Blue flash light (Arc) on Google Maps

查看:169
本文介绍了Google地图上的蓝色闪光灯(Arc)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法可以访问Google地图上出现的蓝色闪光灯?我在不同的论坛上都读到过,这个蓝色弧线代表了磁传感器的可靠性,在Android中有什么方法可以使用它吗?

Is there any way to have access to the blue flash light appears on google map? I have read in different forums that this blue arc is representative of the reliability of the magnet sensor, is there any way to have access to it in android?

推荐答案

我通过了用于磁铁输出的Android SDK.我发现了一种测量基于磁体运动方向的精度的方法.您看到以下方法了吗?

I went through Android SDK for magnet outputs. I have found one method that measure the accuracy of magnet based direction of movement. Have you seen following method?

@Override
public void onAccuracyChanged(Sensor sensor, int i) {
    if(sensor.getType() == Sensor.TYPE_MAGNETIC_FIELD){

    }
}

这将基于磁体的航向估计输出4级精度.

This outputs the accuracy in 4 levels for magnet based heading estimation.

这篇关于Google地图上的蓝色闪光灯(Arc)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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