2012-01-31 28 views
0

我正在創建一個MKMapView,並使用didUpdateUserLocation返回的位置來顯示用戶所在的位置,並使用該位置來調用iPhone上的地圖應用程序以獲取其他所需的方向位置。現在我想知道代表會給出的最接近的準確度是什麼,我沒有看到MKMapView設置允許我設置這樣的準確性,還是有一個?從MKMapView接收的用戶位置的準確度是什麼didUpdateUserLocation

+0

可能重複的這個屬性http://stackoverflow.com/questions/5930612/how-to-set-accuracy-and-distance-filter-when-using- mkmapview – Rayfleck 2012-01-31 17:12:50

+0

SO線程http://stackoverflow.com/questions/3945742/check-user-location-age-in-mapkit-gps-accuracy-for-mapkit-user-location-signif很多回答我的問題 – tom 2012-01-31 17:42:35

回答

1
locationManagerObj.distanceFilter = 100.0f; //this is in meters 

集外景經理的

+0

謝謝!所以你在說,設置CLLocationManager(app wise wise)實例會「影響」MKMapView實例的準確性嗎? – tom 2012-01-31 17:45:21

+0

'MKMapView'只是顯示位置更新的地圖,我們有'CLLocationManager' – 2012-01-31 17:48:29

相關問題