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

Method GetDrawablePosition

libs/drape_frontend/my_position_controller.cpp:831–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

829}
830
831m2::PointD MyPositionController::GetDrawablePosition()
832{
833 m2::PointD position;
834 if (AnimationSystem::Instance().GetArrowPosition(position))
835 {
836 m_isPendingAnimation = false;
837 return position;
838 }
839
840 if (m_isPendingAnimation)
841 return m_oldPosition;
842
843 return m_position;
844}
845
846double MyPositionController::GetDrawableAzimut()
847{

Callers 2

EndUpdateOverlayTreeMethod · 0.80

Calls 1

GetArrowPositionMethod · 0.80

Tested by

no test coverage detected