mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 13:53:37 +00:00
[styles] Have house numbers show up only from level 17
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
@@ -87,7 +87,7 @@ void CaptionDescription::Init(FeatureType & f, int8_t deviceLang, int zoomLevel,
|
||||
|
||||
// TODO(pastk) : its better to determine housenumbers minZoom once upon drules load and cache it,
|
||||
// but it'd mean a lot of housenumbers-specific logic in otherwise generic RulesHolder..
|
||||
uint8_t constexpr kHousenumbersMinZoom = 16;
|
||||
uint8_t constexpr kHousenumbersMinZoom = 17;
|
||||
if (geomType != feature::GeomType::Line && zoomLevel >= kHousenumbersMinZoom &&
|
||||
(auxCaptionExists || m_mainText.empty()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user