| 142 | } |
| 143 | |
| 144 | drape_ptr<MapFollowAnimation> GetFollowAnimation(ScreenBase const & startScreen, m2::PointD const & userPos, |
| 145 | double targetScale, double targetAngle, m2::PointD const & endPixelPos, |
| 146 | bool isAutoZoom) |
| 147 | { |
| 148 | auto anim = |
| 149 | make_unique_dp<MapFollowAnimation>(startScreen, userPos, endPixelPos, targetScale, targetAngle, isAutoZoom); |
| 150 | anim->SetMaxDuration(kMaxAnimationTimeSec); |
| 151 | |
| 152 | return anim; |
| 153 | } |
| 154 | |
| 155 | drape_ptr<MapScaleAnimation> GetScaleAnimation(ScreenBase const & startScreen, m2::PointD pxScaleCenter, |
| 156 | m2::PointD glbScaleCenter, double factor) |
no test coverage detected