CLASS
IPSNavigationOptions
@objc public class IPSNavigationOptions: NSObject
This class represents a set of constrains to apply while calculating a navigation path.
All the possible constraints are defined in IPSNavigationOption to combine several options.
- Since: 2.11.0
Methods
addOption(_:)
public func addOption(_ option: IPSNavigationOption) -> IPSNavigationOptions
Add one more option to the current options set.
-
Since: 2.11.0
-
Parameters:
-
option: the option to be added.
-
Returns: Reference to the same
IPSNavigationOptionsinstance to enable chaining of addOption calls.
init()
public override init()
Initialize with an empty options set. No constrains will be applied to the navigation route.
- Since: 2.11.0
init(option:)
public init(option: IPSNavigationOption)
Initialize with a single option to apply to the navigation route.
- Since: 2.11.0
init(options:)
public init(options: IPSNavigationOption...)