From 493f8f99184892315c52266e2c377b2c8a62b792 Mon Sep 17 00:00:00 2001 From: Manuel Kasper Date: Sat, 6 Mar 2021 21:19:40 +0100 Subject: [PATCH] Nearest neighbor interpolation is better for slope classes --- src/assets/swisstopo.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/swisstopo.json b/src/assets/swisstopo.json index 51f9340..31ee9f9 100644 --- a/src/assets/swisstopo.json +++ b/src/assets/swisstopo.json @@ -65,7 +65,7 @@ "https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.hangneigung-ueber_30/default/current/3857/{z}/{x}/{y}.png" ], "tileSize": 256, - "maxzoom": 16 + "maxzoom": 14 }, "summits": { "type": "vector", @@ -158,7 +158,7 @@ "layout": {"visibility": "none"}, "paint": { "raster-opacity": 0.3, - "raster-resampling": "linear" + "raster-resampling": "nearest" } }, {