GeoLeaf Core API - v3.19.0
    Preparing search index...

    Function resetTerrain

    • Forgets the relief of a map that goes away. Runs when an application is unmounted, with the basemap registry (resetBasemapRegistry).

      Without it the state survived its map: the next one inherited a relief it never had, and the first basemap applied to it "left" that relief — deactivateTerrain eased the camera of a brand-new map to pitch: 0, bearing: 0.

      Writes NOTHING on the map. It is being torn down: neither its terrain nor its camera is ours to settle any more. The listeners of either mode are detached.

      Returns void