| 304 | } |
| 305 | |
| 306 | void MyPositionController::Scrolled(m2::PointD const & distance) |
| 307 | { |
| 308 | if (m_mode == location::PendingPosition) |
| 309 | return; |
| 310 | |
| 311 | if (distance.Length() > 0) |
| 312 | StopLocationFollow(); |
| 313 | |
| 314 | UpdateViewport(kDoNotChangeZoom); |
| 315 | } |
| 316 | |
| 317 | void MyPositionController::ResetRoutingNotFollowTimer(bool blockTimer) |
| 318 | { |