SearchSuggestion
Autocomplete common suggestion type.
To retrieve coordinate and detailed address information, you have to push suggestion
back to SearchEngine.select(suggestion:)
method.
-
Unique identifier for suggestion result.
Attention
Mapbox backend may change the identifier of the object in the future. -
-
Suggestion name.
-
Index in response from server.
-
Server provided result description. Usually contains pre-formatted address.
-
Result categories types.
-
Result address.
-
Maki icon name.
-
Result suggestion type.
-
Original search request.
-
Distance in meters from result to requested proximity bias. May be
nil
even for correct proximity argument. -
Indicates whatever this suggestion can be batch resolved. Suggestion should be POI type.