From ce9c75b0895bda70f6bf260653b9f214755a3454 Mon Sep 17 00:00:00 2001 From: Sam Wilson Date: Fri, 16 Jun 2023 18:12:42 +1000 Subject: [PATCH] remove-fog --- public/map.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/public/map.js b/public/map.js index c0698f3..a626d4b 100644 --- a/public/map.js +++ b/public/map.js @@ -721,13 +721,7 @@ map.on('load', function () { }); map.on('style.load', () => { - map.setFog({ - color: 'rgb(186, 210, 235)', // Lower atmosphere - 'high-color': 'rgb(36, 92, 223)', // Upper atmosphere - 'horizon-blend': 0.02, // Atmosphere thickness (default 0.2 at low zooms) - 'space-color': 'rgb(11, 11, 25)', // Background color - 'star-intensity': 0.35 // Background star brightness (default 0.35 at low zoooms ) - }); + map.setFog(null); }); var mobile = findGetParameter('nav-control') || false;