From 5594ead42dd70921fffec82003d0bde6650f6d4a Mon Sep 17 00:00:00 2001 From: Harry Bond Date: Sat, 22 Apr 2023 10:23:39 +0100 Subject: [PATCH] [styles] add gate icon uses carto icon, modified to have border. also rename airport gate icon to avoid confusion Signed-off-by: Harry Bond --- data/styles/clear/include/Icons.mapcss | 10 ++++++---- .../symbols/{gate-m.svg => airport_gate-m.svg} | 0 data/styles/clear/style-clear/symbols/gate-s.svg | 5 +++++ .../symbols/{gate-m.svg => airport_gate-m.svg} | 0 data/styles/clear/style-night/symbols/gate-s.svg | 5 +++++ 5 files changed, 16 insertions(+), 4 deletions(-) rename data/styles/clear/style-clear/symbols/{gate-m.svg => airport_gate-m.svg} (100%) create mode 100644 data/styles/clear/style-clear/symbols/gate-s.svg rename data/styles/clear/style-night/symbols/{gate-m.svg => airport_gate-m.svg} (100%) create mode 100644 data/styles/clear/style-night/symbols/gate-s.svg diff --git a/data/styles/clear/include/Icons.mapcss b/data/styles/clear/include/Icons.mapcss index 276111e2c0..3b6d718c78 100644 --- a/data/styles/clear/include/Icons.mapcss +++ b/data/styles/clear/include/Icons.mapcss @@ -1982,11 +1982,13 @@ node|z15-[barrier=border_control] node|z16-[barrier=block], node|z16-[barrier=bollard], node|z16-[barrier=chain], +node|z16-[barrier=stile], +{icon-image: dot-m.svg;font-size: 11;} + node|z16-[barrier=entrance], node|z16-[barrier=gate], node|z16-[barrier=kissing_gate], -node|z16-[barrier=stile], -{icon-image: dot-m.svg;font-size: 11;} +{icon-image: gate-s.svg;font-size: 11;} node|z16-[highway=ford], /* ToDo: Make separate tower icon? Because of a good landmark */ @@ -2156,10 +2158,10 @@ area|z18-[amenity=vending_machine][vending=fuel] node|z17-[aeroway=gate], area|z17-[aeroway=gate] -{icon-image: gate-m.svg;font-size: 11;} +{icon-image: airport_gate-m.svg;font-size: 11;} node|z18-[aeroway=gate], area|z18-[aeroway=gate] -{icon-image: gate-m.svg;font-size: 11;z-index: 24200;}/*check*/ +{icon-image: airport_gate-m.svg;font-size: 11;z-index: 24200;}/*check*/ area|z17-[amenity=bureau_de_change], node|z17-[amenity=bureau_de_change], diff --git a/data/styles/clear/style-clear/symbols/gate-m.svg b/data/styles/clear/style-clear/symbols/airport_gate-m.svg similarity index 100% rename from data/styles/clear/style-clear/symbols/gate-m.svg rename to data/styles/clear/style-clear/symbols/airport_gate-m.svg diff --git a/data/styles/clear/style-clear/symbols/gate-s.svg b/data/styles/clear/style-clear/symbols/gate-s.svg new file mode 100644 index 0000000000..6e29c6eab9 --- /dev/null +++ b/data/styles/clear/style-clear/symbols/gate-s.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/data/styles/clear/style-night/symbols/gate-m.svg b/data/styles/clear/style-night/symbols/airport_gate-m.svg similarity index 100% rename from data/styles/clear/style-night/symbols/gate-m.svg rename to data/styles/clear/style-night/symbols/airport_gate-m.svg diff --git a/data/styles/clear/style-night/symbols/gate-s.svg b/data/styles/clear/style-night/symbols/gate-s.svg new file mode 100644 index 0000000000..e99f55549e --- /dev/null +++ b/data/styles/clear/style-night/symbols/gate-s.svg @@ -0,0 +1,5 @@ + + + + +