| 931 | } |
| 932 | |
| 933 | void Framework::ShowBookmarkCategory(kml::MarkGroupId categoryId, bool animation) |
| 934 | { |
| 935 | auto & bm = GetBookmarkManager(); |
| 936 | auto rect = bm.GetCategoryRect(categoryId, true /* addIconsSize */); |
| 937 | if (!rect.IsValid()) |
| 938 | return; |
| 939 | |
| 940 | ExpandRectForPreview(rect); |
| 941 | |
| 942 | StopLocationFollow(); |
| 943 | ShowRect(rect, -1 /* maxScale */, animation); |
| 944 | |
| 945 | auto es = bm.GetEditSession(); |
| 946 | es.SetIsVisible(categoryId, true /* visible */); |
| 947 | } |
| 948 | |
| 949 | void Framework::ShowFeature(FeatureID const & featureId) |
| 950 | { |
no test coverage detected