| 272 | } |
| 273 | |
| 274 | void Framework::OnUserPositionChanged(m2::PointD const & position, bool hasPosition) |
| 275 | { |
| 276 | GetBookmarkManager().MyPositionMark().SetUserPosition(position, hasPosition); |
| 277 | if (m_currentPlacePageInfo && m_currentPlacePageInfo->GetTrackId() != kml::kInvalidTrackId) |
| 278 | GetBookmarkManager().UpdateElevationMyPosition(m_currentPlacePageInfo->GetTrackId()); |
| 279 | |
| 280 | m_routingManager.SetUserCurrentPosition(position); |
| 281 | m_trafficManager.UpdateMyPosition(TrafficManager::MyPosition(position)); |
| 282 | } |
| 283 | |
| 284 | void Framework::OnViewportChanged(ScreenBase const & screen) |
| 285 | { |
nothing calls this directly
no test coverage detected