From b65e905e2bc3e03e9ec0d6d1c5b83fc0398dd30f Mon Sep 17 00:00:00 2001 From: Noktoborus Date: Mon, 3 Apr 2023 22:54:57 +0400 Subject: [PATCH] Display railway=turntable with icon --- Default.style/colors.mapcss | 1 + Default.style/colors_dark.mapcss | 1 + Default.style/poi_railway_turntable.svg | 15 +++++++++++++++ Default.style/polygons.mapcss | 10 ++++++++++ 4 files changed, 27 insertions(+) create mode 100644 Default.style/poi_railway_turntable.svg diff --git a/Default.style/colors.mapcss b/Default.style/colors.mapcss index 3ddd7d7..1fd6eef 100644 --- a/Default.style/colors.mapcss +++ b/Default.style/colors.mapcss @@ -144,3 +144,4 @@ @color_railway: #E6F8E0; // l: 0.1 @color_railway_dashes: #999; // l: 0.1 +@color_railway_turntable: #9e9e9e; diff --git a/Default.style/colors_dark.mapcss b/Default.style/colors_dark.mapcss index 3b407bc..c063632 100644 --- a/Default.style/colors_dark.mapcss +++ b/Default.style/colors_dark.mapcss @@ -144,3 +144,4 @@ @color_railway: #1E4810; @color_railway_dashes: #7F7F7F; +@color_railway_turntable: #9e9e9e; diff --git a/Default.style/poi_railway_turntable.svg b/Default.style/poi_railway_turntable.svg new file mode 100644 index 0000000..527961e --- /dev/null +++ b/Default.style/poi_railway_turntable.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/Default.style/polygons.mapcss b/Default.style/polygons.mapcss index d416348..73ae0f0 100644 --- a/Default.style/polygons.mapcss +++ b/Default.style/polygons.mapcss @@ -394,6 +394,16 @@ area { z-index: 10; fill-color: @color_bridge; } + + + |z14-[railway=turntable] { + width: eval( zlinear(16, 2pt, 4pt) ); + color: @color_railway_turntable; + |z16- { + icon-image: "poi_railway_turntable.svg"; + icon-tint: @color_railway_turntable; + } + } } /******************************* Polygon strokes *******************************/