[styles] Improve house numbers display in navigation mode

Needed-for: #2030

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin 2022-02-07 15:01:00 +03:00 committed by Viktor Govako
parent 9fd4bf42b9
commit 59b6eeda86

View file

@ -583,68 +583,49 @@ node|z15-[landuse=quarry],
/* 8.BUILDINGS */
area|z17-[building],
node|z17-[building],
area|z17-[building]::int_name,
node|z17-[building]::int_name,
area|z18-[building],
node|z18-[building],
area|z18-[building]::int_name,
node|z18-[building]::int_name,
{text: addr:housenumber;text-color: @building_label;text-position: center;}
area|z16-[addr:housenumber][addr:street],
node|z16-[addr:housenumber][addr:street]
area|z18-[addr:housenumber][addr:street],
node|z18-[addr:housenumber][addr:street],
{text: name;text-color: @building_label;text-position: center;}
area|z16-[addr:housenumber][addr:street]::int_name,
node|z16-[addr:housenumber][addr:street]::int_name
area|z18-[addr:housenumber][addr:street]::int_name,
node|z18-[addr:housenumber][addr:street]::int_name,
{text:int_name;text-color: @building_label;text-position: center;}
node|z18-[entrance]
node|z18-[entrance],
node|z18-[amenity=loading_dock],
{text-color: @building_label;}
/* 8.1 Pier */
/* 8.2 Building */
area|z16[building],
node|z16[building],
area|z16[addr:housenumber][addr:street],
node|z16[addr:housenumber][addr:street],
{text:"addr:housename";font-size: 12.5;text-color: @housename;}
area|z17[building],
node|z17[building],
area|z17[addr:housenumber][addr:street],
node|z17[addr:housenumber][addr:street]
{font-size: 15;}
area|z17[building]::int_name,
node|z17[building]::int_name,
area|z17[addr:housenumber][addr:street]::int_name,
node|z17[addr:housenumber][addr:street]::int_name
{font-size: 14.5;}
/* 8.2 Building */
area|z18[building],
node|z18[building],
area|z18[addr:housenumber][addr:street],
node|z18[addr:housenumber][addr:street]
{font-size: 16;}
{font-size: 13;}
area|z18[building]::int_name,
node|z18[building]::int_name,
area|z18[addr:housenumber][addr:street]::int_name,
node|z18[addr:housenumber][addr:street]::int_name
{font-size: 15;}
{font-size: 12;}
area|z19[building],
node|z19[building],
area|z19[addr:housenumber][addr:street],
node|z19[addr:housenumber][addr:street]
{font-size: 17.5;}
{font-size: 14;}
area|z19[building]::int_name,
node|z19[building]::int_name,
area|z19[addr:housenumber][addr:street]::int_name,
node|z19[addr:housenumber][addr:street]::int_name
{font-size: 17;}
{font-size: 13;}