[styles] Make captions mandatory for capitals with a star icon

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin 2023-03-24 23:12:04 +02:00 committed by Alexander Borsuk
parent f692b7930c
commit f64aa4fb96
2 changed files with 6 additions and 0 deletions

View file

@ -232,6 +232,9 @@ node|z4[place=city][capital!=2][population>=1000000],
node|z4[place=city][capital!=2][population>=1000000]::int_name
{font-size: 8;text-halo-opacity: 0.7;}
node|z4-[place=city][capital=2][population>=0],
{text-optional: false;}
node|z4[place=city][capital=2][population>=0],
{icon-image: star-s.svg;text-offset: 1;font-size: 10;}
node|z4[place=city][capital=2][population>=0]::int_name

View file

@ -200,6 +200,9 @@ node|z9-11[place=city][capital!=2]::int_name,
node|z12-[place=city][capital!=2][population<40000]::int_name
{text: int_name;text-color: @label_dark;text-halo-radius: 1;text-halo-opacity: 1;text-halo-color: @label_halo_light;}
node|z4-[place=city][capital=2][population>=0],
{text-optional: false;}
node|z4[place=city][capital!=2][population>=1000000],
{font-size: 9;text-halo-opacity: 0.7;}
node|z4[place=city][capital!=2][population>=1000000]::int_name