MCPcopy Create free account
hub / github.com/comaps/comaps / Scrolled

Method Scrolled

libs/drape_frontend/my_position_controller.cpp:306–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306void 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
317void MyPositionController::ResetRoutingNotFollowTimer(bool blockTimer)
318{

Callers 1

OnScrolledMethod · 0.80

Calls 1

LengthMethod · 0.45

Tested by

no test coverage detected