NavigationOptions

public struct NavigationOptions

NavigationOptions specifies all required parameters for a navigation session.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Initializer

    Declaration

    Swift

    public init(activeRoutePlan: RoutePlan, alternativeRoutePlans: [RoutePlan] = [])

    Parameters

    activeRoutePlan

    current active RoutePlan

    alternativeRoutePlans

    list of alternative RoutePlan

Public

  • Current active RoutePlan.

    Declaration

    Swift

    public private(set) var activeRoutePlan: RoutePlan { get }
  • List of alternative RoutePlan.

    Declaration

    Swift

    public private(set) var alternativeRoutePlans: [RoutePlan] { get }