LocationOptions

public struct LocationOptions : Equatable

A struct to configure a LocationManager

  • Sets the type of puck that should be used

    Declaration

    Swift

    public var puckType: PuckType?
  • Specifies if a Puck should use Heading or Course for the bearing.

    The default value is PuckBearing.heading.

    Declaration

    Swift

    public var puckBearing: PuckBearing
  • Whether the puck rotates to track the bearing source.

    The default value is true.

    Declaration

    Swift

    public var puckBearingEnabled: Bool
  • Initializes a LocationOptions.

    Declaration

    Swift

    public init(
        puckType: PuckType? = nil,
        puckBearing: PuckBearing = .heading,
        puckBearingEnabled: Bool = true
    )

    Parameters

    puckType

    Sets the type of puck that should be used.

    puckBearing

    Specifies if a Puck should use Heading or Course for the bearing.

    puckBearingEnabled

    Whether the puck rotates to track the bearing source.