This is the documentation of version 0.62.2. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Variable TERRAIN_SOURCE_IDConst

    TERRAIN_SOURCE_ID: "hillshade-terrain" = 'hillshade-terrain'

    Source identifier of the 3D terrain surface: a copy of HILLSHADE_SOURCE_ID that TerrainModule adds when elevation is first enabled.

    MapLibre renders hillshade and 3D terrain at a lower quality when both share one source.