-
Notifications
You must be signed in to change notification settings - Fork 827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dog park rendering #4384
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1226,14 +1226,14 @@ | |
} | ||
} | ||
|
||
[feature = 'leisure_dog_park'][zoom >= 17] { | ||
marker-file: url('symbols/shop/pet.svg'); | ||
marker-fill: @leisure-green; | ||
marker-clip: false; | ||
} | ||
|
||
[feature = 'leisure_dog_park'][zoom >= 17], | ||
[feature = 'leisure_playground'][zoom >= 17] { | ||
marker-file: url('symbols/leisure/playground.svg'); | ||
[feature = 'leisure_playground'] { | ||
marker-file: url('symbols/leisure/playground.svg'); | ||
} | ||
[feature = 'leisure_dog_park'] { | ||
marker-file: url('symbols/shop/pet.svg'); | ||
} | ||
marker-fill: @leisure-green; | ||
marker-clip: false; | ||
[access != ''][access != 'permissive'][access != 'yes'] { | ||
|
@@ -2210,6 +2210,7 @@ | |
text-fill: @wetland-text; | ||
} | ||
[feature = 'leisure_park'], | ||
[feature = 'leisure_dog_park'], | ||
[feature = 'leisure_recreation_ground'], | ||
[feature = 'landuse_recreation_ground'], | ||
[feature = 'landuse_village_green'], | ||
|
@@ -2307,11 +2308,6 @@ | |
text-halo-radius: 0; | ||
} | ||
} | ||
[feature = 'leisure_dog_park'] { | ||
text-fill: @leisure-green; | ||
text-halo-radius: @standard-halo-radius * 1.5; /* Extra halo needed to stand out from paw pattern. */ | ||
text-halo-fill: @standard-halo-fill; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This removes pattern fill styling and replaces it with the simple fill used by park/village green/recreation_ground |
||
[feature = 'leisure_track'] { | ||
text-fill: darken(@track, 40%); | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,6 +88,7 @@ | |
|
||
[feature = 'leisure_recreation_ground'][zoom >= 10], | ||
[feature = 'landuse_recreation_ground'][zoom >= 10], | ||
[feature = 'leisure_dog_park'][zoom >= 13], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adds casing to dog_parks to match playgrounds. |
||
[feature = 'leisure_playground'][zoom >= 13], | ||
[feature = 'leisure_fitness_station'][zoom >= 13] { | ||
polygon-fill: @leisure; | ||
|
@@ -261,20 +262,6 @@ | |
} | ||
} | ||
|
||
[feature = 'leisure_dog_park'] { | ||
[zoom >= 10] { | ||
polygon-fill: @leisure; | ||
[way_pixels >= 4] { polygon-gamma: 0.75; } | ||
[way_pixels >= 64] { polygon-gamma: 0.3; } | ||
} | ||
[zoom >= 16] { | ||
polygon-pattern-file: url('symbols/dog_park.png'); | ||
polygon-pattern-alignment: global; | ||
[way_pixels >= 4] { polygon-pattern-gamma: 0.75; } | ||
[way_pixels >= 64] { polygon-pattern-gamma: 0.3; } | ||
} | ||
} | ||
|
||
Comment on lines
-266
to
-279
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removes pattern fill from dog parks. Polygon fill is already handled elsewhere. |
||
[feature = 'leisure_golf_course'][zoom >= 10], | ||
[feature = 'leisure_miniature_golf'][zoom >= 15] { | ||
polygon-fill: @golf_course; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change unifies the
dog_park
andplayground
styling.