Interface GeocodingProvenanceExperimental

Identifies which provider produced a result and carries that provider's attribution / usage-policy obligations so hosts can surface them (for example in a map attribution control).

interface GeocodingProvenance {
    attribution: string;
    provider: string;
    usagePolicyUrl?: string;
}

Properties

attribution: string

Human-readable data attribution the host is obliged to display.

provider: string

Provider identifier, e.g. "nominatim", "photon", "pelias", "honua".

usagePolicyUrl?: string

Usage/acceptable-use policy for the configured endpoint, when known.