Deactivates 3D terrain rendering.
map.setTerrain(null)
removeSource("terrain-dem")
map.once("render")
map.easeTo()
The native maplibregl.Map instance.
Deactivates 3D terrain rendering.
map.setTerrain(null)to detach the terrain.removeSource("terrain-dem")viamap.once("render")to avoid MapLibre errors when the source is still referenced by the render pipeline.map.easeTo().