forked from organicmaps/organicmaps
Pass polyline point back as output parameter
This commit is contained in:
parent
09ac7ca6e6
commit
2054812193
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ void Route::GetCurrentDirectionPoint(m2::PointD & pt) const
|
|||
{
|
||||
ASSERT(m_current.IsValid(), ());
|
||||
|
||||
m_poly.GetPoint(min(m_current.m_ind + 1, m_poly.GetSize() - 1));
|
||||
pt = m_poly.GetPoint(min(m_current.m_ind + 1, m_poly.GetSize() - 1));
|
||||
}
|
||||
|
||||
bool Route::MoveIterator(location::GpsInfo const & info) const
|
||||
|
|
Loading…
Add table
Reference in a new issue