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

Method CheckIsometryMinScale

libs/drape_frontend/frontend_renderer.cpp:1946–1955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1944}
1945
1946void FrontendRenderer::CheckIsometryMinScale(ScreenBase const & screen)
1947{
1948 bool const isScaleAllowableIn3d = IsScaleAllowableIn3d(GetCurrentZoom());
1949 bool const isIsometry = m_enable3dBuildings && !m_choosePositionMode && isScaleAllowableIn3d;
1950 if (m_isIsometry != isIsometry)
1951 {
1952 m_isIsometry = isIsometry;
1953 RefreshPivotTransform(screen);
1954 }
1955}
1956
1957void FrontendRenderer::ResolveZoomLevel(ScreenBase const & screen)
1958{

Callers

nothing calls this directly

Calls 1

IsScaleAllowableIn3dFunction · 0.85

Tested by

no test coverage detected