SearchNavigationOptions
public struct SearchNavigationOptions : Hashable
Additional search options to improve navigation experience It’s possible to request estimated time of arrival according to a specific navigation profile or change search ranking logic by the navigation details
-
Requested type of ETA field Better quality type may lead to an extra cost
See moreDeclaration
Swift
public enum ETAType : CaseIterable
-
Navigation profile option used for proper calculation of ETA
Declaration
Swift
public var profile: SearchNavigationProfile
-
This indicates that the caller intends to perform a higher cost navigation ETA estimate. This along with
SearchOptions.origin
andSearchNavigationOptions.profile
is required in order receive ETA estimates.Declaration
Swift
public var etaType: ETAType
-
Instantiate
SearchNavigationOptions
with optional ETA type (defaults to.none
)Declaration
Swift
public init(profile: SearchNavigationProfile, etaType: ETAType = .none)