GeoLeaf Core API - v3.0.0
    Preparing search index...

    Function buildHillshadeSourceSpec

    • Builds a MapLibre raster-dem source spec for a hillshade basemap. Pure factory — does not call any map API.

      Parameters

      • definition: BasemapDefinition

        Basemap config with hillshade.demUrl (or top-level demUrl).

      Returns Record<string, unknown>

      The raster-dem source spec.