interface QueryResultSource {
    features: Feature[];
    featuresCount?: number;
    id: string | number;
    identifierAttributeField?: string;
    label: string;
    mergeComposants?: string[];
    pending: boolean;
    requestPartners?: string[];
    tooManyResults?: boolean;
    totalFeatureCount?: number;
}

Properties

features: Feature[]

The matching features for this source.

featuresCount?: number

The total number of features that corresponds to the query.

id: string | number

Identifier (can be not unique).

identifierAttributeField?: string

The field to use to identify the feature.

label: string

Label.

mergeComposants?: string[]

The original datasources merged in merged result.

pending: boolean

Is the request for this source still ongoing?

requestPartners?: string[]

The datasources of the request (which are summed in totalFeatureCount).

tooManyResults?: boolean

If the last query for this source would return more features than the configured limit.

totalFeatureCount?: number

If tooManyResults is true, this contains the total number of features.