forked from organicmaps/organicmaps
[search] Show match penalty for results.
This commit is contained in:
parent
aba042eb1b
commit
36e1eefb8d
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ Result IntermediateResult::GenerateFinalResult() const
|
|||
switch (m_resultType)
|
||||
{
|
||||
case RESULT_FEATURE:
|
||||
return Result(m_str, m_type, m_rect, m_distance, m_direction);
|
||||
return Result(m_str + ' ' + strings::to_string(m_matchPenalty), m_type, m_rect,
|
||||
m_distance, m_direction);
|
||||
case RESULT_LATLON:
|
||||
return Result(m_str, 0, m_rect, m_distance, m_direction);
|
||||
case RESULT_CATEGORY:
|
||||
|
|
Loading…
Add table
Reference in a new issue