CompassViewOptions

public struct CompassViewOptions : OrnamentOptionsProtocol, Equatable

Used to configure position, margin, image, 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 nil, default compass image will be drawn.

    Declaration

    Swift

    public var image: UIImage?
  • The default value for this property is .adaptive.

    Declaration

    Swift

    public var visibility: OrnamentVisibility