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

Method CheckAndRunFirstLaunchAnimation

libs/drape_frontend/frontend_renderer.cpp:2614–2623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2612}
2613
2614void FrontendRenderer::CheckAndRunFirstLaunchAnimation()
2615{
2616 if (!m_firstTilesReady || m_firstLaunchAnimationInterrupted || !m_myPositionController->IsModeHasPosition())
2617 return;
2618
2619 int constexpr kDesiredZoomLevel = 13;
2620 m2::PointD const pos = m_myPositionController->GetDrawablePosition();
2621 AddUserEvent(make_unique_dp<SetCenterEvent>(pos, kDesiredZoomLevel, true /* isAnim */,
2622 false /* trackVisibleViewport */, nullptr /* parallelAnimCreator */));
2623}
2624
2625void FrontendRenderer::ScheduleOverlayCollecting()
2626{

Callers

nothing calls this directly

Calls 2

IsModeHasPositionMethod · 0.80
GetDrawablePositionMethod · 0.80

Tested by

no test coverage detected