From c336edbcf72509ac4e125c59458ff447306e11b5 Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Wed, 8 Jan 2020 16:43:24 -0500 Subject: [PATCH 1/2] Add styling for landcover, class==ice --- style.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/style.json b/style.json index afe0191..08b4a9c 100644 --- a/style.json +++ b/style.json @@ -96,6 +96,20 @@ "fill-opacity": 0.3 } }, + { + "id": "landcover_ice", + "type": "fill", + "source": "openmaptiles", + "source-layer": "landcover", + "maxzoom": 24, + "filter": ["all", ["==", "class", "ice"]], + "layout": {"visibility": "visible"}, + "paint": { + "fill-antialias": false, + "fill-color": "rgba(224, 236, 236, 1)", + "fill-opacity": 0.8 + } + }, { "id": "landuse_cemetery", "type": "fill", From 3f63e012e799c5656ca8ba081baf3f1b4d483372 Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Thu, 9 Jan 2020 12:47:23 -0500 Subject: [PATCH 2/2] Remove visibility key and maxzoom --- style.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/style.json b/style.json index 08b4a9c..5caa85b 100644 --- a/style.json +++ b/style.json @@ -101,9 +101,7 @@ "type": "fill", "source": "openmaptiles", "source-layer": "landcover", - "maxzoom": 24, "filter": ["all", ["==", "class", "ice"]], - "layout": {"visibility": "visible"}, "paint": { "fill-antialias": false, "fill-color": "rgba(224, 236, 236, 1)",