TomTom Maps for JavaScript
    Preparing search index...

    Type Alias TerrainElevationConfig

    The 3D surface of the TerrainModule, raised to the elevation data. Shows best with a pitched camera.

    type TerrainElevationConfig = {
        exaggeration?: number;
        visible?: boolean;
    }
    Index
    exaggeration?: number

    Vertical scaling of the surface. 1 is true elevation. Higher values emphasise the relief. It stays while visible is off, so turning it back on restores it.

    1
    
    visible?: boolean

    Whether the map surface is raised in 3D or flat.

    Flat, unless MapLibre code raised a terrain of its own.