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

Method ShowRect

libs/map/framework.cpp:1057–1063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1055}
1056
1057void Framework::ShowRect(m2::RectD const & rect, int maxScale, bool animation, bool useVisibleViewport)
1058{
1059 if (m_drapeEngine == nullptr)
1060 return;
1061
1062 m_drapeEngine->SetModelViewRect(rect, true /* applyRotation */, maxScale /* zoom */, animation, useVisibleViewport);
1063}
1064
1065void Framework::ShowRect(m2::AnyRectD const & rect, bool animation, bool useVisibleViewport)
1066{

Callers 3

ProcessNextRectMethod · 0.80
MoveViewportToRectMethod · 0.80
UNIT_TESTFunction · 0.80

Calls 2

SetModelViewRectMethod · 0.80
SetModelViewAnyRectMethod · 0.80

Tested by 1

UNIT_TESTFunction · 0.64