[ios] Disabled compass and distance filtering to improve GPS and compass quality and fix annoying bug - when you stop moving, you don’t get any GPS update about it.

This commit is contained in:
Alex Zolotarev 2014-06-24 23:50:45 -10:00 committed by Alex Zolotarev
parent 636decf28c
commit cfdc604bc1

View file

@ -17,8 +17,8 @@
m_locationManager.delegate = self;
m_locationManager.purpose = NSLocalizedString(@"location_services_are_needed_desc", @"Location purpose text description");
m_locationManager.desiredAccuracy = kCLLocationAccuracyBest;
m_locationManager.headingFilter = 3.0;
m_locationManager.distanceFilter = 3.0;
// m_locationManager.headingFilter = 3.0;
// m_locationManager.distanceFilter = 3.0;
m_isStarted = NO;
m_observers = [[NSMutableSet alloc] init];