summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorBrad Leege <bleege@gmail.com>2015-04-30 11:58:31 -0400
committerBrad Leege <bleege@gmail.com>2015-04-30 11:58:31 -0400
commit6811e7c39d7cb9be3bb4e46f50468308225fd5dd (patch)
tree62a38402a3a4b23edac4276f1022ddbeae92d45e /platform
parentbbcc7c26d9862f4fb8685174330a73132d8c8a27 (diff)
downloadqtlocation-mapboxgl-6811e7c39d7cb9be3bb4e46f50468308225fd5dd.tar.gz
#1381 - Setting desiredAccuracy to 3KM
Diffstat (limited to 'platform')
-rw-r--r--platform/ios/MGLMetricsLocationManager.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/MGLMetricsLocationManager.m b/platform/ios/MGLMetricsLocationManager.m
index b64fc44c15..63bc3ac944 100644
--- a/platform/ios/MGLMetricsLocationManager.m
+++ b/platform/ios/MGLMetricsLocationManager.m
@@ -15,6 +15,7 @@
- (instancetype) init {
if (self = [super init]) {
_locationManager = [[CLLocationManager alloc] init];
+ _locationManager.desiredAccuracy = kCLLocationAccuracyThreeKilometers;
_locationManager.distanceFilter = 10;
[_locationManager setDelegate:self];