| 110 | } |
| 111 | |
| 112 | drape_ptr<df::UserPointMark::SymbolNameZoomInfo> Bookmark::GetSymbolNames() const |
| 113 | { |
| 114 | auto symbolNames = GetCustomSymbolNames(); |
| 115 | if (symbolNames != nullptr) |
| 116 | return symbolNames; |
| 117 | |
| 118 | symbolNames = make_unique_dp<SymbolNameZoomInfo>(); |
| 119 | |
| 120 | symbolNames->insert(std::make_pair(1 /* zoomLevel */, "bookmark-default-xs")); |
| 121 | symbolNames->insert(std::make_pair(8 /* zoomLevel */, "bookmark-default-s")); |
| 122 | auto const iconType = GetBookmarkIconType(m_data.m_icon); |
| 123 | symbolNames->insert(std::make_pair(14 /* zoomLevel */, "bookmark-" + iconType + "-m")); |
| 124 | return symbolNames; |
| 125 | } |
| 126 | |
| 127 | drape_ptr<df::UserPointMark::SymbolNameZoomInfo> Bookmark::GetCustomSymbolNames() const |
| 128 | { |
no test coverage detected