More intermediate stops #1141

Merged
CasparNuel merged 2 commits from more-intermediate-stops into master 2021-08-24 08:58:45 +00:00
2 changed files with 5 additions and 2 deletions

View file

@ -36,6 +36,7 @@ Code contributions:
Dima Korolev <dmitry.korolev@gmail.com>
Max Grigorev <forwidur@gmail.com>
Roman Tsisyk <roman@tsisyk.com>
Caspar Nuël <casparnuel@yandex.com>
Porting to Tizen platform:
Sergey Pisarchik

View file

@ -192,7 +192,8 @@ drape_ptr<df::UserPointMark::SymbolNameZoomInfo> RouteMarkPoint::GetSymbolNames(
case 0: name = "route-point-a"; break;
case 1: name = "route-point-b"; break;
case 2: name = "route-point-c"; break;
default: name = ""; break;
// TODO: Properly add icons for other letters/numbers after C.
default: name = "route-point-c"; break;
}
break;
}
@ -202,7 +203,8 @@ drape_ptr<df::UserPointMark::SymbolNameZoomInfo> RouteMarkPoint::GetSymbolNames(
return symbol;
}
size_t const RoutePointsLayout::kMaxIntermediatePointsCount = 3;
// This should be tested if the routing algorithm can handle this
size_t const RoutePointsLayout::kMaxIntermediatePointsCount = 100;
RoutePointsLayout::RoutePointsLayout(BookmarkManager & manager)
: m_manager(manager)