| 685 | } |
| 686 | |
| 687 | kml::BookmarkIcon GetBookmarkIconByFeatureType(uint32_t type) |
| 688 | { |
| 689 | auto typeStr = classif().GetReadableObjectName(type); |
| 690 | |
| 691 | do |
| 692 | { |
| 693 | auto const itIcon = kFeatureTypeToBookmarkMatchInfo.find(typeStr); |
| 694 | if (itIcon != kFeatureTypeToBookmarkMatchInfo.cend()) |
| 695 | return itIcon->second.m_icon; |
| 696 | } |
| 697 | while (TruncType(typeStr)); |
| 698 | |
| 699 | return kml::BookmarkIcon::None; |
| 700 | } |
| 701 | |
| 702 | void SaveFeatureTypes(feature::TypesHolder const & types, kml::BookmarkData & bmData) |
| 703 | { |
no test coverage detected