Android 获得myLocationOverlay的准确度
有没有办法从MyLocationOverlay获得修复的准确性?很明显,它知道它有多精确,因为它画出了区域的圆,表示它有多精确。有没有办法得到这个值Android 获得myLocationOverlay的准确度,android,mylocationoverlay,Android,Mylocationoverlay,有没有办法从MyLocationOverlay获得修复的准确性?很明显,它知道它有多精确,因为它画出了区域的圆,表示它有多精确。有没有办法得到这个值 感谢我的一个应用程序中的“我的位置侦听器”中的代码 public void onLocationChanged(Location location) { currentLatitudeE6 = (int) (location.getLatitude() * 1E6); currentLongitudeE6
感谢我的一个应用程序中的“我的位置侦听器”中的代码
public void onLocationChanged(Location location) {
currentLatitudeE6 = (int) (location.getLatitude() * 1E6);
currentLongitudeE6 = (int) (location.getLongitude() * 1E6);
currentAccuracy = location.getAccuracy();
hasCurrentPosition = true;
gpsMessage = "GPS Tracking";
updateMap();
}
通过locationManager.requestLocationUpdates方法实现位置侦听器,请检查以下链接: