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

Method ParseSearchQueryCommand

libs/map/framework.cpp:3219–3240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3217}
3218
3219bool Framework::ParseSearchQueryCommand(search::SearchParams const & params)
3220{
3221 if (ParseDrapeDebugCommand(params.m_query))
3222 return true;
3223 if (ParseSetGpsTrackMinAccuracyCommand(params.m_query))
3224 return true;
3225 if (ParseEditorDebugCommand(params))
3226 return true;
3227 if (ParseRoutingDebugCommand(params))
3228 return true;
3229 if (ParseAllTypesDebugCommand(params))
3230 return true;
3231
3232 if (params.m_query == "?check-updates")
3233 {
3234 LOG(LINFO, ("COUNTRIES: triggered manual check for updates"));
3235 m_storage.RunCountriesCheckAsyncSaveOnly();
3236 return true;
3237 }
3238
3239 return false;
3240}
3241
3242m2::PointD Framework::GetMinDistanceBetweenResults() const
3243{

Callers 1

SearchMethod · 0.45

Tested by

no test coverage detected