Skip to content

Commit

Permalink
Merge pull request #1 from pitdicker/golf-pin
Browse files Browse the repository at this point in the history
Use invisible rectangle to center golf_pin.svg
  • Loading branch information
jgruca authored Sep 3, 2021
2 parents 337b742 + d7cd4d9 commit 5768096
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
4 changes: 2 additions & 2 deletions style/golf.mss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down
9 changes: 0 additions & 9 deletions symbols/golf_pin.svg

This file was deleted.

5 changes: 5 additions & 0 deletions symbols/leisure/golf_pin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5768096

Please sign in to comment.