Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@mapswithme.com>2014-06-25 13:50:45 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:18:32 +0300
commitcfdc604bc1bae272c55161ad6b33893a0fbb1c8e (patch)
treee72b91908f94b7e2862e9de4b60a16f43014b485 /iphone/Maps/Platform
parent636decf28cb902546f5bd53169396f4855c2cb2d (diff)
[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.
Diffstat (limited to 'iphone/Maps/Platform')
-rw-r--r--iphone/Maps/Platform/LocationManager.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/iphone/Maps/Platform/LocationManager.mm b/iphone/Maps/Platform/LocationManager.mm
index 22042ac78a..47eb709e81 100644
--- a/iphone/Maps/Platform/LocationManager.mm
+++ b/iphone/Maps/Platform/LocationManager.mm
@@ -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];