| 370 | } |
| 371 | |
| 372 | bool Route::MoveIterator(location::GpsInfo const & info) |
| 373 | { |
| 374 | m2::RectD const rect = mercator::MetersToXY(info.m_longitude, info.m_latitude, |
| 375 | max(m_routingSettings.m_matchingThresholdM, info.m_horizontalAccuracy)); |
| 376 | |
| 377 | return m_poly.UpdateMatchingProjection(rect); |
| 378 | } |
| 379 | |
| 380 | double Route::GetPolySegAngle(size_t ind) const |
| 381 | { |