From 682392e6ff61ba1f9b90e65c7809191408da99f5 Mon Sep 17 00:00:00 2001 From: Karim Naaji Date: Tue, 12 Apr 2022 13:54:46 -0700 Subject: [PATCH] Address review comment, add atmosphere to other pages --- debug/3d-playground.html | 1 + debug/circles.html | 2 ++ debug/globe-fill-extrusion.html | 2 ++ debug/markers.html | 2 ++ debug/terrain-debug.html | 2 ++ 5 files changed, 9 insertions(+) diff --git a/debug/3d-playground.html b/debug/3d-playground.html index 49e99f5dd1c..1ed59aff64e 100644 --- a/debug/3d-playground.html +++ b/debug/3d-playground.html @@ -183,6 +183,7 @@ ] } }); + map.setFog({}); var elevationDebug = document.getElementById('elevationDebug'); map.on('mousemove', (e) => { const elevation = map.queryTerrainElevation(map.unproject(e.point)); diff --git a/debug/circles.html b/debug/circles.html index 4f5bff8dfe6..8aa6bd4a758 100644 --- a/debug/circles.html +++ b/debug/circles.html @@ -90,6 +90,8 @@ } }); + map.setFog({}); + document.getElementById('terrain-checkbox').onclick(); }); diff --git a/debug/globe-fill-extrusion.html b/debug/globe-fill-extrusion.html index 82b38297e47..8952cc7c017 100644 --- a/debug/globe-fill-extrusion.html +++ b/debug/globe-fill-extrusion.html @@ -46,6 +46,8 @@ "maxzoom": 14 }); + map.setFog({}); + document.getElementById('terrain-checkbox').onclick(); }); diff --git a/debug/markers.html b/debug/markers.html index 4a994ab2472..3c822b8dd5f 100644 --- a/debug/markers.html +++ b/debug/markers.html @@ -109,6 +109,8 @@ "tileSize": 512, "maxzoom": 14 }); + + map.setFog({}); }); document.getElementById('terrain-checkbox').onclick = function() { diff --git a/debug/terrain-debug.html b/debug/terrain-debug.html index 5eb0c25c68a..b9c64324c99 100644 --- a/debug/terrain-debug.html +++ b/debug/terrain-debug.html @@ -254,6 +254,8 @@ } }; + map.setFog({}); + map.addLayer(highlightLayer); document.getElementById('road-label-checkbox').onclick();