| 2014 | } |
| 2015 | |
| 2016 | void Framework::DeactivateMapSelection() |
| 2017 | { |
| 2018 | if (m_onPlacePageClose) |
| 2019 | m_onPlacePageClose(); |
| 2020 | |
| 2021 | if (m_currentPlacePageInfo) |
| 2022 | { |
| 2023 | DeactivateHotelSearchMark(); |
| 2024 | |
| 2025 | auto & bm = GetBookmarkManager(); |
| 2026 | bm.OnTrackDeselected(); |
| 2027 | bm.ResetRecentlyDeletedBookmark(); |
| 2028 | |
| 2029 | m_currentPlacePageInfo = {}; |
| 2030 | |
| 2031 | if (m_drapeEngine != nullptr) |
| 2032 | m_drapeEngine->DeselectObject(false /* restoreViewport */); |
| 2033 | } |
| 2034 | } |
| 2035 | |
| 2036 | void Framework::DeactivateMapSelectionCircle(bool restoreViewport) |
| 2037 | { |
no test coverage detected