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

Method SearchAPI

libs/map/search_api.cpp:147–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145} // namespace
146
147SearchAPI::SearchAPI(DataSource & dataSource, storage::Storage const & storage,
148 storage::CountryInfoGetter const & infoGetter, size_t numThreads, Delegate & delegate)
149 : m_dataSource(dataSource)
150 , m_storage(storage)
151 , m_infoGetter(infoGetter)
152 , m_delegate(delegate)
153 , m_engine(m_dataSource, GetDefaultCategories(), m_infoGetter,
154 Engine::Params(languages::GetTwine(localisation::GetMapLanguageCode()) /* locale */, numThreads))
155{}
156
157void SearchAPI::OnViewportChanged(m2::RectD const & viewport)
158{

Callers

nothing calls this directly

Calls 3

GetTwineFunction · 0.85
GetMapLanguageCodeFunction · 0.85
ParamsClass · 0.50

Tested by

no test coverage detected