static
| 43 | |
| 44 | // static |
| 45 | bool FilterWorld::IsGoodScale(feature::FeatureBuilder const & fb) |
| 46 | { |
| 47 | // GetMinDrawableScale also checks suitable size for AREA features. |
| 48 | int const minScale = GetMinDrawableScale(fb.GetTypesHolder(), fb.GetLimitRect()); |
| 49 | |
| 50 | // Some features become invisible after merge processing, so -1 is possible. |
| 51 | return scales::GetUpperWorldScale() >= minScale && minScale != -1; |
| 52 | } |
| 53 | |
| 54 | // static |
| 55 | bool FilterWorld::IsPopularAttraction(feature::FeatureBuilder const & fb, std::string const & popularityFilename) |
nothing calls this directly
no test coverage detected