LocationOptions

public struct LocationOptions : Equatable

A struct to configure a LocationManager

  • Specifies the minimum distance (measured in meters) a device must move horizontally before a location update is generated. The default value of this property is kCLDistanceFilterNone.

    Declaration

    Swift

    public var distanceFilter: CLLocationDistance
  • Specifies the accuracy of the location data. The default value is kCLLocationAccuracyBest.

    Declaration

    Swift

    public var desiredAccuracy: CLLocationAccuracy
  • Sets the type of user activity associated with the location updates. The default value is other.

    Declaration

    Swift

    public var activityType: CLActivityType
  • Sets if the location manager should show the user location on screen or not

    Declaration

    Swift

    public var showUserLocation: Bool
  • Sets the type of backend that should be used for the PuckView

    Declaration

    Swift

    public var locationPuck: LocationPuck
  • Undocumented

    Declaration

    Swift

    public init()