Skip to content

Commit

Permalink
Merge pull request #3843 from jeisenbe/water-park-fill
Browse files Browse the repository at this point in the history
Add sports_centre (@Stadium) fill color for leisure=water_park areas
  • Loading branch information
pnorman committed Mar 29, 2020
2 parents 15c58ad + 4efb259 commit 772145f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Layer:
('shop_' || (CASE WHEN shop IN ('mall') AND (tags->'location' NOT IN ('underground') OR (tags->'location') IS NULL) THEN shop END)) AS shop,
('leisure_' || (CASE WHEN leisure IN ('swimming_pool', 'playground', 'park', 'recreation_ground', 'garden',
'golf_course', 'miniature_golf', 'sports_centre', 'stadium', 'pitch', 'ice_rink',
'track', 'dog_park', 'fitness_station') THEN leisure END)) AS leisure,
'track', 'dog_park', 'fitness_station', 'water_park') THEN leisure END)) AS leisure,
('man_made_' || (CASE WHEN man_made IN ('works', 'wastewater_plant', 'water_works') THEN man_made END)) AS man_made,
('natural_' || (CASE WHEN "natural" IN ('beach', 'shoal', 'heath', 'grassland', 'wood', 'sand', 'scree', 'shingle', 'bare_rock', 'scrub') THEN "natural" END)) AS "natural",
('wetland_' || (CASE WHEN "natural" IN ('wetland', 'mud') THEN (CASE WHEN "natural" = 'mud' THEN "natural" ELSE tags->'wetland' END) END)) AS wetland,
Expand Down
1 change: 1 addition & 0 deletions style/landcover.mss
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@
}

[feature = 'leisure_sports_centre'],
[feature = 'leisure_water_park'],
[feature = 'leisure_stadium'] {
[zoom >= 10] {
polygon-fill: @stadium;
Expand Down

0 comments on commit 772145f

Please sign in to comment.