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.
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 —
deactivateTerraineased the camera of a brand-new map topitch: 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.