CompassViewOptions

public struct CompassViewOptions : OrnamentOptionsProtocol, Equatable

Used to configure position, margin, and visibility for the map’s compass view.

  • The default value for this property is .topRight.

    Declaration

    Swift

    public var position: OrnamentPosition
  • The default value for this property is CGPoint(x: 8.0, y: 8.0).

    Declaration

    Swift

    public var margins: CGPoint
  • The default value for this property is .adaptive.

    Declaration

    Swift

    public var visibility: OrnamentVisibility