The Alps read as terrain rather than flat colour, with ridges and valleys shaded into the base map under the roads and labels.
TerrainModule.getis the whole feature. One awaited call adds the elevation source and layers to the loaded style, with no style URL to swap and no terrain tiles to host.{ hillshade: { visible: true } }on that same call turns the shading on as the style loads, so the first frame already has relief.
Related examples
3D terrain map
Render the map surface in 3D using terrain elevation data
Getting Started
Terrain and 3D
Plugins
Web
Cinematic city fly-by
Fly like a bird through eight cities and over five landscapes, banking round their landmarks and down their avenues, in twenty looks with skies, typefaces and effects of their own
Playground
Terrain and 3D
Map Style
Plugins
Web
Cinematic city orbit
Circle the Empire State Building through Midtown in eight looks, each mixing 3D buildings, bloom, depth of field and a map theme
Playground
Terrain and 3D
Map Style
Plugins
Web
Globe and 3D terrain
Switch the map to a globe with an atmosphere with the styling foundations module's view knobs, or raise it in 3D with the terrain module
Customization
Map Style
Terrain and 3D
Web