| 3298 | } |
| 3299 | |
| 3300 | void Framework::SetPlacePageLocation(place_page::Info & info) |
| 3301 | { |
| 3302 | ASSERT(m_infoGetter, ()); |
| 3303 | |
| 3304 | if (info.GetCountryId().empty()) |
| 3305 | info.SetCountryId(m_infoGetter->GetRegionCountryId(info.GetMercator())); |
| 3306 | |
| 3307 | CountriesVec countries; |
| 3308 | if (info.GetTopmostCountryIds().empty()) |
| 3309 | { |
| 3310 | GetStorage().GetTopmostNodesFor(info.GetCountryId(), countries); |
| 3311 | info.SetTopmostCountryIds(std::move(countries)); |
| 3312 | } |
| 3313 | } |
| 3314 | |
| 3315 | void Framework::FillDescriptions(FeatureType & ft, place_page::Info & info) const |
| 3316 | { |
nothing calls this directly
no test coverage detected