Skip to content

Commit

Permalink
Merge pull request #16 from vatpac-technology/remove-fog
Browse files Browse the repository at this point in the history
remove-fog
  • Loading branch information
Kahn authored Aug 20, 2023
2 parents 668c6cd + ce9c75b commit f891699
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 f891699

Please sign in to comment.