# GuidanceStreetLabel

    @IBDesignable
    open class GuidanceStreetLabel : UILabel

Label for displaying the street name, which depends on position and map tracking data.

### Properties

- `contentInsets`

  Sets the content insets.

  #### Declaration

  Swift

      public var contentInsets: UIEdgeInsets { get set }

- `accentBackgroundColor`

  Background color of the label when it’s accented. The default value is `UIColor.colorPositive`.

  #### Declaration

  Swift

      public var accentBackgroundColor: UIColor { get set }

- `plainBackgroundColor`

  Background color of label when it’s not accented. The default value is `UIColor.colorForegroundSecondary`.

  #### Declaration

  Swift

      public var plainBackgroundColor: UIColor { get set }

- `isAccented`

  Sets the background color. If `true` it uses `accentBackgroundColor`, otherwise `plainBackgroundColor` is used. The default value is `true`.

  #### Declaration

  Swift

      public var isAccented: Bool { get set }

- `lookingForPositionText`

  Sets the text of the label that should be displayed when `isLookingForPosition` is `true`.

  #### Declaration

  Swift

      public var lookingForPositionText: String? { get set }

- `isLookingForPosition`

  Sets the state to looking for position.

  When set to `true`, the label sets its `isHidden` property to `true`, uses `plainBackgroundColor` as its `backgroundColor` and sets `lookingForPositionText` as its `text`.

  When set to `false`, the label sets its `isHidden` property to `false`, uses `accentBackgroundColor` as its `backgroundColor` and sets its `text` property `nil`.

  Note

  When this property is set, `text` property is invalidated and should be configured again.

  The default value is `false`.

  #### Declaration

  Swift

      public var isLookingForPosition: Bool { get set }