GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Deactivates 3D terrain rendering.

      • Calls map.setTerrain(null) to detach the terrain.
      • Defers removeSource("terrain-dem") via map.once("render") to avoid MapLibre errors when the source is still referenced by the render pipeline.
      • Resets pitch and bearing to 0 via map.easeTo().

      Parameters

      • map: NativeMap | null

        The native maplibregl.Map instance.

      Returns void