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

Method RefreshMapLanguage

libs/map/framework.cpp:2447–2453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2445}
2446
2447void Framework::RefreshMapLanguage()
2448{
2449 if (m_drapeEngine)
2450 m_drapeEngine->SetMapLangIndex(localisation::GetMapLanguageIndex());
2451 if (m_searchAPI)
2452 m_searchAPI->SetLocale(localisation::GetMapLanguageCode());
2453}
2454
2455localisation::AlternativeMapLanguageHandling Framework::GetAlternativeMapLanguageHandling()
2456{

Callers

nothing calls this directly

Calls 4

GetMapLanguageIndexFunction · 0.85
GetMapLanguageCodeFunction · 0.85
SetMapLangIndexMethod · 0.45
SetLocaleMethod · 0.45

Tested by

no test coverage detected