| 159 | } |
| 160 | |
| 161 | void TrafficManager::Invalidate() |
| 162 | { |
| 163 | if (!IsEnabled()) |
| 164 | return; |
| 165 | |
| 166 | m_lastDrapeMwmsByRect.clear(); |
| 167 | m_lastRoutingMwmsByRect.clear(); |
| 168 | |
| 169 | if (m_currentModelView.second) |
| 170 | UpdateViewport(m_currentModelView.first); |
| 171 | if (m_currentPosition.second) |
| 172 | UpdateMyPosition(m_currentPosition.first); |
| 173 | } |
| 174 | |
| 175 | void TrafficManager::UpdateActiveMwms(m2::RectD const & rect, std::vector<MwmSet::MwmId> & lastMwmsByRect, |
| 176 | std::set<MwmSet::MwmId> & activeMwms) |
no test coverage detected