| 666 | } |
| 667 | |
| 668 | BookmarkBaseType GetBookmarkBaseType(std::vector<uint32_t> const & featureTypes) |
| 669 | { |
| 670 | auto const & c = classif(); |
| 671 | for (auto typeIndex : featureTypes) |
| 672 | { |
| 673 | auto const type = c.GetTypeForIndex(typeIndex); |
| 674 | auto typeStr = c.GetReadableObjectName(type); |
| 675 | |
| 676 | do |
| 677 | { |
| 678 | auto const itType = kFeatureTypeToBookmarkMatchInfo.find(typeStr); |
| 679 | if (itType != kFeatureTypeToBookmarkMatchInfo.cend()) |
| 680 | return itType->second.m_type; |
| 681 | } |
| 682 | while (TruncType(typeStr)); |
| 683 | } |
| 684 | return BookmarkBaseType::None; |
| 685 | } |
| 686 | |
| 687 | kml::BookmarkIcon GetBookmarkIconByFeatureType(uint32_t type) |
| 688 | { |
no test coverage detected