| 1011 | } |
| 1012 | |
| 1013 | bool IsTransformToState(m2::PointD const & pt) const |
| 1014 | { |
| 1015 | auto const countryId = m_infoGetter->GetRegionCountryId(pt); |
| 1016 | if (!countryId.empty()) |
| 1017 | { |
| 1018 | auto const country = storage::GetTopmostParentFor(*m_countryTree, countryId); |
| 1019 | return base::IsExist(m_provinceToState, country); |
| 1020 | } |
| 1021 | |
| 1022 | LOG(LWARNING, ("CountryId not found for (lat, lon):", mercator::ToLatLon(pt))); |
| 1023 | return false; |
| 1024 | } |
| 1025 | }; |
| 1026 | |
| 1027 | static CountriesLoader s_countriesChecker; |
no test coverage detected