IGPAPI
    Preparing search index...

    Interface TypeaheadSearchInput

    interface TypeaheadSearchInput {
        lat?: number;
        lng?: number;
        query: string;
        session?: SearchSessionState;
    }
    Index

    Properties

    Properties

    lat?: number

    Optional coarse location; sent as lat/lng, null when absent.

    lng?: number
    query: string

    Search session carrying the shared search_session_id. Optional: when absent the leg starts its own session (withTypeaheadSession), so the method is usable standalone — search.search threads the same session from its typeahead leg into the SERP leg.