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

Method DeactivateMapSelection

libs/map/framework.cpp:2016–2034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2014}
2015
2016void 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
2036void Framework::DeactivateMapSelectionCircle(bool restoreViewport)
2037{

Callers 3

DeactivatePopupMethod · 0.80
ShowPlacePageMethod · 0.80
ExecuteMapApiRequestMethod · 0.80

Calls 3

OnTrackDeselectedMethod · 0.80
DeselectObjectMethod · 0.80

Tested by

no test coverage detected