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

Method UpdateRoutingOffsetY

libs/drape_frontend/my_position_controller.cpp:825–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823}
824
825void MyPositionController::UpdateRoutingOffsetY(bool useDefault, int offsetY)
826{
827 double const vs = GetVisualScale();
828 m_positionRoutingOffsetY = useDefault ? kPositionRoutingOffsetY * vs : offsetY + Arrow3d::GetMaxBottomSize() * vs;
829}
830
831m2::PointD MyPositionController::GetDrawablePosition()
832{

Callers 1

AcceptMessageMethod · 0.80

Calls 1

GetVisualScaleFunction · 0.85

Tested by

no test coverage detected