GeoLeaf Core API - v3.19.0
    Preparing search index...
    interface StyleTransformOptions {
        attribution?: string;
    }
    Index
    attribution?: string

    The incoming basemap's declared credit (basemaps.{id}.attribution). Set on every source of the incoming style that carries none, so MapLibre's attribution control shows it; a source's own credit is never replaced. Cleaned first (sanitizeAttribution): inline formatting and safe links are kept, any other markup becomes text.