| 241 | } |
| 242 | |
| 243 | bool RuleDrawer::CheckCoastlines(FeatureType & f) |
| 244 | { |
| 245 | if (m_zoomLevel > scales::GetUpperWorldScale() && f.GetID().m_mwmId.GetInfo()->GetType() == MwmInfo::COASTS) |
| 246 | { |
| 247 | std::string_view const name = f.GetName(localisation::kDefaultNameIndex); |
| 248 | if (!name.empty()) |
| 249 | { |
| 250 | strings::SimpleTokenizer iter(name, ";"); |
| 251 | while (iter) |
| 252 | { |
| 253 | if (m_isLoadedFn(*iter)) |
| 254 | return false; |
| 255 | ++iter; |
| 256 | } |
| 257 | } |
| 258 | } |
| 259 | return true; |
| 260 | } |
| 261 | |
| 262 | void RuleDrawer::ProcessAreaAndPointStyle(FeatureType & f, Stylist const & s, TInsertShapeFn const & insertShape) |
| 263 | { |