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:
Diffstat (limited to 'iphone/Maps/Classes/LocationPredictor.mm')
-rw-r--r--iphone/Maps/Classes/LocationPredictor.mm19
1 files changed, 10 insertions, 9 deletions
diff --git a/iphone/Maps/Classes/LocationPredictor.mm b/iphone/Maps/Classes/LocationPredictor.mm
index 2fed7c2f83..38a210fcb6 100644
--- a/iphone/Maps/Classes/LocationPredictor.mm
+++ b/iphone/Maps/Classes/LocationPredictor.mm
@@ -34,14 +34,15 @@ namespace
m_gpsInfoIsValid = false;
m_generatePredictions = false;
- m_connectionSlot = GetFramework().GetLocationState()->AddStateModeListener([self](location::State::Mode mode)
- {
- m_generatePredictions = (mode == location::State::RotateAndFollow);
- if (mode < location::State::NotFollow)
- m_gpsInfoIsValid = false;
-
- [self resetTimer];
- });
+ //@TODO UVR
+ //m_connectionSlot = GetFramework().GetLocationState()->AddStateModeListener([self](location::State::Mode mode)
+ //{
+ // m_generatePredictions = (mode == location::State::RotateAndFollow);
+ // if (mode < location::State::NotFollow)
+ // m_gpsInfoIsValid = false;
+
+ // [self resetTimer];
+ //});
}
return self;
@@ -49,7 +50,7 @@ namespace
-(void)dealloc
{
- GetFramework().GetLocationState()->RemoveStateModeListener(m_connectionSlot);
+ //GetFramework().GetLocationState()->RemoveStateModeListener(m_connectionSlot);
}
-(void)reset:(location::GpsInfo const &)info