interface ResultItem {
    extent: LngLatBoundsArray;
    geom?: GeoJsonObject;
    text: string;
}

Properties

Properties

Bounding box of the result item in [west, south, east, north] format.

geom?: GeoJsonObject

Optional GeoJSON geometry associated with this result item.

text: string

Display text of the result item.