2012-04-07 40 views
0

有没有办法从MyLocationOverlay获得修复的准确性?它显然知道它有多准确,因为它绘制了该区域的圆度,以确定它的准确程度。有没有拿到这个价值?获取myLocationOverlay的准确性

感谢

回答

0

在我的应用我的一个位置监听器代码...

 public void onLocationChanged(Location location) { 
     currentLatitudeE6 = (int) (location.getLatitude() * 1E6); 
     currentLongitudeE6 = (int) (location.getLongitude() * 1E6); 
     currentAccuracy = location.getAccuracy(); 
     hasCurrentPosition = true; 
     gpsMessage = "GPS Tracking"; 
     updateMap(); 
    }