Member Junction
    Preparing search index...

    Interface ProviderGeocodeResult

    Provider-agnostic geocoding result. Providers normalize their native response into this shape. Confidence is normalized to 0.0–1.0; precision uses the GeocodePrecision enum from the persistence layer.

    interface ProviderGeocodeResult {
        City: string;
        Confidence: number;
        CountryCode: string;
        FormattedAddress: string;
        Latitude: number;
        Line1: string;
        Line2: string;
        Longitude: number;
        PostalCode: string;
        Precision: GeocodePrecision;
        StateProvinceCode: string;
        StateProvinceName: string;
    }
    Index

    Properties

    City: string
    Confidence: number

    Normalized 0.0–1.0 confidence score. null if the provider doesn't surface one.

    CountryCode: string

    ISO 3166-1 alpha-2 country code returned by the provider.

    FormattedAddress: string
    Latitude: number
    Line1: string

    Street line 1 if the provider parsed it out.

    Line2: string

    Street line 2 (apt/unit/suite) if the provider parsed it out.

    Longitude: number
    PostalCode: string
    Precision: GeocodePrecision
    StateProvinceCode: string

    State/province code/abbreviation returned by the provider.

    StateProvinceName: string