Other Type Aliases
The following type aliases are available globally.
-
Range of numeric values determining congestion level.
Congestion ranges work with
NumericCongestionLevelvalues that can be requested by specifyingAttributeOptions.numericCongestionLevelinDirectionOptions.attributeswhen making Directions request.Declaration
Swift
public typealias CongestionRange = Range<NumericCongestionLevel> -
Defines source of routing engine (online or offline) to be used for requests.
Declaration
Swift
public typealias RoutingProviderSource = MapboxRoutingProvider.Source -
A closure to be called when
RouteLegwas changed.Declaration
Swift
public typealias AdvanceLegCompletionHandler = (_ result: Result<RouteProgress, Error>) -> VoidParameters
resultResult, which in case of successfully changed leg contains the most recent
RouteProgressand error, in case of failure. -
A container view controller is a view controller that behaves as a navigation component; that is, it responds as the user progresses along a route according to the
NavigationServiceDelegateprotocol.Declaration
Swift
public typealias ContainerViewController = UIViewController & NavigationComponent
Install in Dash
Other Type Aliases Reference