Search Navigation Options
class SearchNavigationOptions @JvmOverloads() constructor(navigationProfile: SearchNavigationProfile, etaType: EtaType?) : Parcelable
Content copied to clipboard
Additional search options to improve navigation experience.
If only navigationProfile is provided, search results will not have information about ETA, but search ranking logic will be affected: the faster you can walk/drive to the point, the higher search result rank.
If both navigationProfile and etaType are provided, it indicates that the caller intends to perform a higher cost navigation ETA estimate. Please note, either SearchOptions.origin should be specified or com.mapbox.android.core.location.LocationEngine should provide location in order to calculate ETA. Also, ETA will not be calculated, if it's impossible to build a route from provided origin point to the destination.
Constructors
SearchNavigationOptions
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Functions
Properties
navigationProfile
Link copied to clipboard
Used to calculate ETA from SearchOptions.origin point to a search suggestion and search result or to affect search ranking logic.