XYZ Maps Documentation
    Preparing search index...

    Type Alias DataSourceAttribution

    Represents a structured attribution entry for a data source.

    Used to provide detailed attribution information for map layers, supporting clickable labels and optional tooltips.

    type DataSourceAttribution = {
        label: string;
        title?: string;
        url?: string;
    }
    Index
    label: string

    The text label displayed in the attribution control.

    title?: string

    (Optional) Tooltip shown on hover over the label.

    url?: string

    (Optional) A URL that opens when the label is clicked.