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

    Function resolveHillshadeOverlay

    • Reads the hillshade OVERLAY a basemap declares, if it declares one that can be drawn.

      null without a word when the basemap asks for none: no hillshade.overlay, or a basemap of type: "hillshade", whose shading is the basemap itself. null with an error logged when it asks for one without a usable demUrl.

      Parameters

      • definition: BasemapDefinition

        The basemap definition from the registry.

      • key: string

        The basemap key, for the log messages.

      Returns HillshadeConfig | null

      The hillshade block to draw as an overlay, or null.