interface LocationSearchOptions {
    limit: number;
    options: BloodhoundOptions<Results>;
    origins: string;
    prepare: ((arg0, arg1) => JQueryAjaxSettings);
    remoteOptions: RemoteOptions<Results>;
    targetProjection: Projection;
}

Properties

limit: number

The maximum number of results to retrieve per request.

options: BloodhoundOptions<Results>

Optional Bloodhound options. If undefined, the default Bloodhound config will be used.

origins: string

A comma separated list of origins. Possible origins are: zipcode,gg25,district,kantone,gazetteer,address,parcel Per default all origins are used.

prepare: ((arg0, arg1) => JQueryAjaxSettings)

Optional function to prepare the request.

Type declaration

    • (arg0, arg1): JQueryAjaxSettings
    • Parameters

      • arg0: string
      • arg1: JQueryAjaxSettings

      Returns JQueryAjaxSettings

remoteOptions: RemoteOptions<Results>

Optional Bloodhound remote options. Only used if remote is not defined in options.

targetProjection: Projection

Target projection.