diff --git a/website/src/lib/components/Map.svelte b/website/src/lib/components/Map.svelte index 7d9f1447..7482bea9 100644 --- a/website/src/lib/components/Map.svelte +++ b/website/src/lib/components/Map.svelte @@ -81,7 +81,7 @@ }); newMap.setTerrain({ source: 'mapbox-dem', - exaggeration: 0 + exaggeration: newMap.getPitch() > 0 ? 1 : 0 }); newMap.setFog({ color: 'rgb(186, 210, 235)',