NextGIS Frontend
    Preparing search index...

    Interface NgwSearchItem

    Extends the basic search item with NGW-specific properties.

    interface NgwSearchItem {
        _id?: string | number;
        extent?: LngLatBoundsArray;
        featureId: number;
        geom?: GeoJsonObject;
        item: FeatureItem;
        provider?: BaseProvider<BaseProviderOptions>;
        query: string;
        resourceId: number;
        resourceItem: CompositeRead;
        result?: () => Promise<ResultItem>;
        text: string;
        [prop: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [prop: string]: any

      A dynamic property bucket for the SearchItem.

    Index
    _id?: string | number

    An optional unique identifier for the search result.

    An optional bounding box of the search result in [west, south, east, north] format.

    featureId: number

    ID of the feature in the NGW resource

    geom?: GeoJsonObject

    Optional GeoJSON geometry associated with this search result.

    The specific feature item from NGW

    The provider that sourced this search result.

    query: string

    The original query string that resulted in this search result.

    resourceId: number

    ID of the NGW resource

    resourceItem: CompositeRead

    The NGW resource item

    result?: () => Promise<ResultItem>

    An optional function that can be called to retrieve detailed result for this search item.

    text: string

    Display text of the search result.