Skip to content

Commit

Permalink
remove-fog
Browse files Browse the repository at this point in the history
  • Loading branch information
Kahn authored Jun 16, 2023
1 parent 668c6cd commit ce9c75b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions public/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce9c75b

Please sign in to comment.