MCPcopy Create free account
hub / github.com/comaps/comaps / Invalidate

Method Invalidate

libs/map/traffic_manager.cpp:161–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void 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
175void TrafficManager::UpdateActiveMwms(m2::RectD const & rect, std::vector<MwmSet::MwmId> & lastMwmsByRect,
176 std::set<MwmSet::MwmId> & activeMwms)

Callers 3

OnRecoverSurfaceMethod · 0.45
InvalidateRenderingMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected