| 947 | } |
| 948 | |
| 949 | void Framework::ShowFeature(FeatureID const & featureId) |
| 950 | { |
| 951 | StopLocationFollow(); |
| 952 | |
| 953 | place_page::BuildInfo info; |
| 954 | info.m_featureId = featureId; |
| 955 | info.m_match = place_page::BuildInfo::Match::FeatureOnly; |
| 956 | m_currentPlacePageInfo = BuildPlacePageInfo(info); |
| 957 | |
| 958 | if (m_drapeEngine != nullptr) |
| 959 | { |
| 960 | auto const & pt = m_currentPlacePageInfo->GetMercator(); |
| 961 | auto const scale = scales::GetUpperComfortScale(); |
| 962 | m_drapeEngine->SetModelViewCenter(pt, scale, true /* isAnim */, true /* trackVisibleViewport */); |
| 963 | } |
| 964 | ActivateMapSelection(); |
| 965 | } |
| 966 | |
| 967 | void Framework::AddBookmarksFile(string const & filePath, bool isTemporaryFile) |
| 968 | { |
no test coverage detected