SearchSuggestion
public protocol 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.Declaration
Swift
var id: String { get }
-
Undocumented
Declaration
Swift
var name: String { get }
-
Undocumented
Declaration
Swift
var descriptionText: String? { get }
-
Undocumented
Declaration
Swift
var iconName: String? { get }
-
Undocumented
Declaration
Swift
var type: SearchResultType { get }
-
Undocumented
Declaration
Swift
var searchRequest: SearchRequestOptions { get }
-
Distance in meters from result to requested proximity bias. May be
nil
even for correct proximity argument.Declaration
Swift
var distance: CLLocationDistance? { get }