GeoLeaf Core API - v3.19.0
    Preparing search index...
    • The credit a basemap declares — attribution, or the Leaflet-era options.attribution.

      One reader for both paths: the raster builders set it on the source they build, and a vector basemap hands it to the style transform, which sets it on the incoming style's sources. The credit comes from a profile and ends as HTML in the engine's attribution control, so it is CLEANED here, once for both paths (sanitizeAttribution, kernel/security/map-credit.ts).

      Parameters

      Returns string

      The declared credit, cleaned — inline formatting and safe links kept — or "".