From 6b6a0810ba37c5de34a2ec52add90bb72bb339d9 Mon Sep 17 00:00:00 2001 From: nebulon42 Date: Sun, 3 May 2015 19:51:53 +0200 Subject: [PATCH] move water tower icon to SVG --- amenity-points.mss | 12 ++++++---- symbols/tower_water.p.20.png | Bin 477 -> 0 bytes symbols/water_tower.16.svg | 41 +++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 4 deletions(-) delete mode 100644 symbols/tower_water.p.20.png create mode 100644 symbols/water_tower.16.svg diff --git a/amenity-points.mss b/amenity-points.mss index 4cb0fb5045..d8280f87b4 100644 --- a/amenity-points.mss +++ b/amenity-points.mss @@ -402,8 +402,10 @@ } [feature = 'man_made_water_tower'][zoom >= 17] { - point-file: url('symbols/tower_water.p.20.png'); - point-placement: interior; + marker-file: url('symbols/water_tower.16.svg'); + marker-fill: @man-made-icon; + marker-placement: interior; + marker-clip: false; } [feature = 'historic_memorial'][zoom >= 17] { @@ -961,9 +963,11 @@ text-name: "[name]"; text-size: 10; text-fill: black; - [feature = 'natural_cave_entrance'] { text-dy: 11; } + [feature = 'natural_cave_entrance'], + [feature = 'man_made_water_tower'] { + text-dy: 11; + } [feature = 'man_made_mast'] { text-dy: 10; } - [feature = 'man_made_water_tower'] { text-dy: 13; } text-face-name: @book-fonts; text-halo-radius: 1; text-halo-fill: rgba(255,255,255,0.6); diff --git a/symbols/tower_water.p.20.png b/symbols/tower_water.p.20.png deleted file mode 100644 index 5ca78016d77b667025b908e88265fc4084db6efc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 477 zcmV<30V4j1P)z)W1uWQ5?tdSLr1|6z(<9 z%xnpw5E_a?FFK@Cfn}Zb9))iX(fsjL>TTS6$q$L)j4bgDU z6PI%zd5j2p!-0qI^Eu!1{c*mBf6NIq|AD?0m3l){B6y5*=)p&v!~`zlJI-Sq-Pp!W z^kXq|a3pc~9H*nWif?#>77XAE-o;EVV-?SEFLRKlw}+=unDQXUHk2BU=7|1^|KDL+ z!%mFh0`}v|;}}Y~A~fYU>9tuCI(!3V%;OU_>()N5p$m`j5??b1>9xstjTh*}4yMqK z+t|ehu4D9o{SCauVEi7&LOi4|+OA?bZ{tB@R>7GV#cFiW5+l5Y70JjIv4 + + + + + + + image/svg+xml + + + + + + + + +