Other Functions
The following functions are available globally.
-
Returns the appropriate
mediiumAlertLeveldistance for a givenMBDirectionsProfileIdentifier.Declaration
Swift
public func RouteControllerMinimumDistanceForMediumAlert(identifier: MBDirectionsProfileIdentifier) -> CLLocationDistance -
Returns a the appropriate
highAlertLeveldistance for a givenMBDirectionsProfileIdentifier.Declaration
Swift
public func RouteControllerMinimumDistanceForHighAlert(identifier: MBDirectionsProfileIdentifier) -> CLLocationDistance
-
Returns a normalized number given min and max bounds.
Declaration
Swift
public func wrap(_ value: Double, min minValue: Double, max maxValue: Double) -> Double
Install in Dash
Other Functions Reference