From 985e69d1819fcac8ca143f465a0b659287c41629 Mon Sep 17 00:00:00 2001 From: David Martinez <47610359+dvdmrtnz@users.noreply.github.com> Date: Fri, 6 Oct 2023 23:25:07 +0200 Subject: [PATCH] [styles] Add amenity=parking + parking=underground + fee=yes icon Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com> --- data/styles/clear/include/Icons.mapcss | 3 +++ .../clear/style-clear/symbols/parking_underground_pay-m.svg | 6 ++++++ .../clear/style-night/symbols/parking_underground_pay-m.svg | 6 ++++++ data/styles/vehicle/include/Icons.mapcss | 4 ++++ 4 files changed, 19 insertions(+) create mode 100644 data/styles/clear/style-clear/symbols/parking_underground_pay-m.svg create mode 100644 data/styles/clear/style-night/symbols/parking_underground_pay-m.svg diff --git a/data/styles/clear/include/Icons.mapcss b/data/styles/clear/include/Icons.mapcss index 40e267964e..6f2e25dd5c 100644 --- a/data/styles/clear/include/Icons.mapcss +++ b/data/styles/clear/include/Icons.mapcss @@ -2630,6 +2630,9 @@ area|z16-[amenity=parking][fee?], node|z17-[amenity=parking][fee?], area|z17-[amenity=parking][fee?], {icon-image: parking_pay-m.svg;} +node|z16-[amenity=parking][location=underground][fee?], +area|z16-[amenity=parking][location=underground][fee?], +{icon-image:parking_underground_pay-m.svg;} /* no icon as these subtypes should display later */ node|z16-[amenity=parking][access=private], diff --git a/data/styles/clear/style-clear/symbols/parking_underground_pay-m.svg b/data/styles/clear/style-clear/symbols/parking_underground_pay-m.svg new file mode 100644 index 0000000000..98991751f6 --- /dev/null +++ b/data/styles/clear/style-clear/symbols/parking_underground_pay-m.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/styles/clear/style-night/symbols/parking_underground_pay-m.svg b/data/styles/clear/style-night/symbols/parking_underground_pay-m.svg new file mode 100644 index 0000000000..5d0ecb9dc9 --- /dev/null +++ b/data/styles/clear/style-night/symbols/parking_underground_pay-m.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/styles/vehicle/include/Icons.mapcss b/data/styles/vehicle/include/Icons.mapcss index a1fbd101a2..fada48050e 100644 --- a/data/styles/vehicle/include/Icons.mapcss +++ b/data/styles/vehicle/include/Icons.mapcss @@ -921,6 +921,10 @@ node|z15-[amenity=parking][fee?], area|z15-[amenity=parking][fee?], {icon-image: parking_pay-m.svg;} +node|z15-[amenity=parking][location=underground][fee], +area|z15-[amenity=parking][location=underground][fee], +{icon-image: parking_underground_pay-m.svg;} + node|z17-[amenity=parking][access=private], area|z17-[amenity=parking][access=private], {icon-image: parking_private-m.svg;text: name;}