TomTom Maps for JavaScript
    Preparing search index...

    Type Alias TerrainHillshadeConfig

    The TerrainModule hillshade, the light and shadow on the map surface that reveal hills, valleys and mountains at any camera pitch.

    Everything but visible restyles the style's own hillshade layer and, while unset, reads the style's own value. They show only once visible does.

    type TerrainHillshadeConfig = {
        colors?: HillshadeColors;
        intensity?: number;
        light?: HillshadeLightConfig;
        maxZoom?: number;
        method?: HillshadeMethod;
        visible?: boolean;
    }
    Index

    The colours of the shading, per class of slope.

    intensity?: number

    Strength of the shading, from 0 (flat) to 1. The standard styles ramp it to zero by zoom 13. Setting it replaces the ramp with a constant.

    The light the relief is shaded with.

    maxZoom?: number

    Zoom level up to which the shading is drawn. The standard styles stop at 13, and 22 keeps it at every zoom.

    How the relief is shaded.

    The style's own, standard.

    visible?: boolean

    Shows the hillshade.

    false