[styles] Add residential garden subtype without icon

fixes #1746
Signed-off-by: Harry Bond <endim8@pm.me>
This commit is contained in:
Harry Bond 2022-08-15 22:54:26 +01:00 committed by Viktor Govako
parent 0a23331ca1
commit 6a96829a5a
2 changed files with 6 additions and 6 deletions

View file

@ -134,7 +134,7 @@ sport|tennis;133;
landuse|vineyard;134;
aeroway|taxiway;135;
aeroway|aerodrome;136;
deprecated|deprecated;137;x
leisure|garden|residential;[leisure=garden][garden:type=residential];;name;int_name;137;
amenity|fire_station;138;
landuse|retail;139;
leisure|nature_reserve;140;

Can't render this file because it has a wrong number of fields in line 11.

View file

@ -453,11 +453,11 @@ node|z17-[landuse=residential]::int_name,
area|z14-[leisure=park][name],
area|z14-[landuse=forest][name],
area|z16-[leisure=garden][name]
area|z16-[leisure=garden][garden:type!=residential][name]
{text: name;text-color: @park_label;text-halo-color: @halo_park_label;text-halo-radius: 0.5;text-halo-opacity: 0.8;icon-min-distance: 10;}
area|z14-[leisure=park][name]::int_name,
area|z14-[landuse=forest][name]::int_name,
area|z16-[leisure=garden][name]::int_name
area|z16-[leisure=garden][garden:type!=residential][name]::int_name
{text: int_name;text-color: @park_label;text-halo-color: @halo_park_label;text-halo-radius: 0.5;text-halo-opacity: 0.8;}
/*
@ -489,21 +489,21 @@ area|z16[landuse=forest][name]
{icon-image: nparkf-m.svg;text-offset: 1;font-size: 11;}
area|z16[leisure=park][name]
{icon-image: park-m.svg;text-offset: 1;font-size: 11;}
area|z16[leisure=garden][name]
area|z16[leisure=garden][garden:type!=residential][name]
{icon-image: garden-m.svg;text-offset: 1;font-size: 11;}
area|z17[landuse=forest][name]
{icon-image: nparkf-m.svg;text-offset: 1;font-size: 12;}
area|z17[leisure=park][name]
{icon-image: park-m.svg;text-offset: 1;font-size: 12;}
area|z17[leisure=garden][name]
area|z17[leisure=garden][garden:type!=residential][name]
{icon-image: garden-m.svg;text-offset: 1;font-size: 12;}
area|z18-[landuse=forest]
{icon-image: nparkf-m.svg;text-offset: 1;font-size: 13;}
area|z18-[leisure=park]
{icon-image: park-m.svg;text-offset: 1;font-size: 13;}
area|z18-[leisure=garden]
area|z18-[leisure=garden][garden:type!=residential]
{icon-image: garden-m.svg;text-offset: 1;font-size: 13;}
area|z18-[leisure=park]::int_name,
area|z18-[leisure=garden]::int_name,