Skip to content

Commit

Permalink
Address review comment, add atmosphere to other pages
Browse files Browse the repository at this point in the history
  • Loading branch information
karimnaaji committed Apr 12, 2022
1 parent c280145 commit 682392e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions debug/3d-playground.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@
]
}
});
map.setFog({});
var elevationDebug = document.getElementById('elevationDebug');
map.on('mousemove', (e) => {
const elevation = map.queryTerrainElevation(map.unproject(e.point));
Expand Down
2 changes: 2 additions & 0 deletions debug/circles.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
}
});

map.setFog({});

document.getElementById('terrain-checkbox').onclick();
});

Expand Down
2 changes: 2 additions & 0 deletions debug/globe-fill-extrusion.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
"maxzoom": 14
});

map.setFog({});

document.getElementById('terrain-checkbox').onclick();
});

Expand Down
2 changes: 2 additions & 0 deletions debug/markers.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@
"tileSize": 512,
"maxzoom": 14
});

map.setFog({});
});

document.getElementById('terrain-checkbox').onclick = function() {
Expand Down
2 changes: 2 additions & 0 deletions debug/terrain-debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@
}
};

map.setFog({});

map.addLayer(highlightLayer);

document.getElementById('road-label-checkbox').onclick();
Expand Down

0 comments on commit 682392e

Please sign in to comment.