Skip to content

Commit

Permalink
Merge pull request #4467 from pitdicker/golf-features
Browse files Browse the repository at this point in the history
Small fixes to golf features
  • Loading branch information
pnorman authored Sep 23, 2021
2 parents 6a4cd4b + 346ccff commit 1b02d24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions style/golf.mss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@golf-color: #666;

#landcover[zoom >= 12] {
::high-zoom[zoom >= 12] {
[feature = 'golf_tee'],
Expand All @@ -18,14 +20,13 @@
::high-zoom[zoom >= 15] {
[feature = 'golf_rough'] {
polygon-pattern-file: url('symbols/golf_rough.svg');
polygon-pattern-comp-op: soft-light;
}
}
}

#golf-line[zoom >= 16] {
[golf = 'hole'] {
line-color: @address-color;
line-color: @golf-color;
line-width: 0.5;
}
}
Expand All @@ -35,7 +36,7 @@
[feature = 'golf_hole'][name != ''] {
text-placement: line;
text-size: 11;
text-fill: @address-color;
text-fill: @golf-color;
text-face-name: @book-fonts;
text-halo-radius: @standard-halo-radius;
text-halo-fill: @standard-halo-fill;
Expand All @@ -51,7 +52,7 @@
[feature = 'golf_hole'],
[feature = 'golf_pin'] {
marker-file: url('symbols/leisure/golf_pin.svg');
marker-fill: @address-color;
marker-fill: @golf-color;
marker-clip: false;
}
}
Expand All @@ -60,7 +61,7 @@
[feature = 'golf_pin'][ref != ''] {
text-name: "[ref]";
text-size: @standard-font-size;
text-fill: @address-color;
text-fill: @golf-color;
text-face-name: @book-fonts;
text-halo-radius: @standard-halo-radius;
text-halo-fill: @standard-halo-fill;
Expand Down
Loading

0 comments on commit 1b02d24

Please sign in to comment.