SDK JS
    Preparing search index...

    Interface EsriTerrainHandle

    The teardown + tuning handle returned by addEsriTerrain.

    interface EsriTerrainHandle {
        service: EsriElevationService;
        sourceId: string;
        remove(): void;
        setExaggeration(exaggeration: number): void;
        stats(): EsriTerrainStats;
    }
    Index

    Properties

    The validated service backing the terrain; see EsriElevationService.

    sourceId: string

    The raster-dem source id this terrain added.

    Methods

    • Tear down: clear terrain, remove the source, unregister, and dispose the decoder.

      Returns void

    • Update the terrain vertical exaggeration.

      Parameters

      • exaggeration: number

        Unitless multiplier (1 = true scale).

      Returns void