From d7cd4d9581cb1db7034a875aba01b546fc32dced Mon Sep 17 00:00:00 2001 From: Paul Dicker Date: Wed, 1 Sep 2021 13:03:51 +0200 Subject: [PATCH] Use invisible rectangle to center golf_pin.svg --- style/golf.mss | 4 ++-- symbols/golf_pin.svg | 9 --------- symbols/leisure/golf_pin.svg | 5 +++++ 3 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 symbols/golf_pin.svg create mode 100644 symbols/leisure/golf_pin.svg diff --git a/style/golf.mss b/style/golf.mss index caf2c17df8..ac43ef69a1 100644 --- a/style/golf.mss +++ b/style/golf.mss @@ -50,9 +50,9 @@ #amenity-points[zoom >= 16] { [feature = 'golf_hole'], [feature = 'golf_pin'] { - marker-file: url('symbols/golf_pin.svg'); + marker-file: url('symbols/leisure/golf_pin.svg'); marker-fill: @address-color; - marker-geometry-transform: translate(2, -5); + marker-clip: false; } } diff --git a/symbols/golf_pin.svg b/symbols/golf_pin.svg deleted file mode 100644 index ddc0919dba..0000000000 --- a/symbols/golf_pin.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - diff --git a/symbols/leisure/golf_pin.svg b/symbols/leisure/golf_pin.svg new file mode 100644 index 0000000000..685020d81f --- /dev/null +++ b/symbols/leisure/golf_pin.svg @@ -0,0 +1,5 @@ + + + + +