From 4efb259da8fc621fb16d26e7305f79c010009762 Mon Sep 17 00:00:00 2001 From: jeisenbe Date: Wed, 21 Aug 2019 21:11:50 +0900 Subject: [PATCH] Add sports_centre fill color for leisure=water_park areas --- project.mml | 2 +- style/landcover.mss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/project.mml b/project.mml index b28aa64052..e03e9a6b38 100644 --- a/project.mml +++ b/project.mml @@ -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, diff --git a/style/landcover.mss b/style/landcover.mss index 8b43f500e5..11e2eb2178 100644 --- a/style/landcover.mss +++ b/style/landcover.mss @@ -663,6 +663,7 @@ } [feature = 'leisure_sports_centre'], + [feature = 'leisure_water_park'], [feature = 'leisure_stadium'] { [zoom >= 10] { polygon-fill: @stadium;