Skip to content

SuggestResult

SuggestResult = object

Defined in: src/ExpoArcgis.types.ts:1296

One autocomplete suggestion. Mirrors the native SuggestResult.

isCollection: boolean

Defined in: src/ExpoArcgis.types.ts:1300

True when the suggestion is a category/collection rather than a single place.


label: string

Defined in: src/ExpoArcgis.types.ts:1298

Suggested text (a partial completion of the search).


suggestionId: number

Defined in: src/ExpoArcgis.types.ts:1308

Opaque integer key that identifies the native SuggestResult held in the module registry. Pass to geocoder.geocodeSuggestion(suggestionId) to resolve the selection precisely — the SDK’s geocode(forSuggestResult:) / geocode(suggestResult) overload avoids a text re-search and returns the exact match the user picked. The registry is replaced on each new suggest call; ids from a prior call are no longer valid.