I am creating a MKMapView and use the location returned from didUpdateUserLocation to show where the user is and use the location to invoke the map application on iPhone to get the directions to other desired location. Now I am wondering what is the closest accuracy that the delegate will give, I didn't see a MKMapView setting that allow me to set such accuracy, or is there one?
Asked
Active
Viewed 1,271 times
0
-
possible duplicate of http://stackoverflow.com/questions/5930612/how-to-set-accuracy-and-distance-filter-when-using-mkmapview – Rayfleck Jan 31 '12 at 17:12
-
The SO thread http://stackoverflow.com/questions/3945742/check-user-location-age-in-mapkit-gps-accuracy-for-mapkit-user-location-signif pretty much answers my question – tom Jan 31 '12 at 17:42
1 Answers
1
locationManagerObj.distanceFilter = 100.0f; //this is in meters
set this property of the location manager

Inder Kumar Rathore
- 39,458
- 17
- 135
- 184
-
Thanks! So you are saying that setting the CLLocationManager (app global wise) instance would "influence" the accuracy of the MKMapView instances? – tom Jan 31 '12 at 17:45
-
`MKMapView` is just for display of the map for location updates we have `CLLocationManager` – Inder Kumar Rathore Jan 31 '12 at 17:48