AttributionButtonOptions

public struct AttributionButtonOptions : OrnamentOptionsProtocol, Equatable

Used to configure position, margin, and visibility for the map’s attribution button.

  • The default value for this property is .bottomRight.

    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 visible. Setting this property to .adaptive will lead to the same behavior as .visible. The attribution button will be visible as long as the map view is visible.

    Declaration

    Swift

    @_spi(Restricted)
    public var visibility: OrnamentVisibility