On this page

    Add hillshading

    To improve the visual appeal of a map, this demonstration incorporates raster hillshading. This is achieved by integrating the MapTiler Terrain-DEM raster tileset, as a raster-dem source for the hillshade layer. By doing so, the map gains a realistic representation of terrain elevation and shading.

    An extension of MapLibre GL JS

    Was this helpful?

    SDK JS
    Examples
    Terrain: adding hillshading
    Terrain hillshading