# GMSNavigationStyleValues


    @interface GMSNavigationStyleValues : NSObject

<br />

<br />

> [!WARNING]
> [Experimental](https://developers.google.com/maps/launch-stages#experimental) feature

<br />

<br />

Provides style values that can be used to visually match or align with Navigation SDK UI
elements.

All values are specified in points.
- `


  ### [buttonHorizontalPadding](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStyleValues#/c:objc(cs)GMSNavigationStyleValues(cpy)buttonHorizontalPadding)


  ` Returns the visual space between a button and the start or end edge of the map.

  #### Declaration

  Swift

      class var buttonHorizontalPadding: CGFloat { get }

  Objective-C

      @property (class, nonatomic, readonly) CGFloat buttonHorizontalPadding;

- `


  ### [buttonVerticalPadding](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStyleValues#/c:objc(cs)GMSNavigationStyleValues(cpy)buttonVerticalPadding)


  ` Returns the visual space between a button and a solid element above or below it.

  #### Declaration

  Swift

      class var buttonVerticalPadding: CGFloat { get }

  Objective-C

      @property (class, nonatomic, readonly) CGFloat buttonVerticalPadding;

- `


  ### [defaultCornerRadius](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStyleValues#/c:objc(cs)GMSNavigationStyleValues(cpy)defaultCornerRadius)


  ` Returns the default corner radius for UI elements such as the header (turn card), footer
  (ETA card), and prompts.

  #### Declaration

  Swift

      class var defaultCornerRadius: CGFloat { get }

  Objective-C

      @property (class, nonatomic, readonly) CGFloat defaultCornerRadius;

- `


  ### [elementHorizontalPadding](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStyleValues#/c:objc(cs)GMSNavigationStyleValues(cpy)elementHorizontalPadding)


  ` Returns the visual space between the UI control and the start or end edge of the entire UI
  element for non-button elements (such as the speed widget).

  #### Declaration

  Swift

      class var elementHorizontalPadding: CGFloat { get }

  Objective-C

      @property (class, nonatomic, readonly) CGFloat elementHorizontalPadding;

- `


  ### [headerFooterHorizontalPadding](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStyleValues#/c:objc(cs)GMSNavigationStyleValues(cpy)headerFooterHorizontalPadding)


  ` Returns the visual space between the turn card or ETA card and the start or end edge of the
  entire UI element.

  #### Declaration

  Swift

      class var headerFooterHorizontalPadding: CGFloat { get }

  Objective-C

      @property (class, nonatomic, readonly) CGFloat headerFooterHorizontalPadding;

- `


  ### [headerNominalHeight](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStyleValues#/c:objc(cs)GMSNavigationStyleValues(cpy)headerNominalHeight)


  ` Returns a fixed height representing an estimated height of the turn card, whose actual height
  varies according to current and upcoming maneuvers.

  #### Declaration

  Swift

      class var headerNominalHeight: CGFloat { get }

  Objective-C

      @property (class, nonatomic, readonly) CGFloat headerNominalHeight;

- `


  ### [headerTopPadding](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStyleValues#/c:objc(cs)GMSNavigationStyleValues(cpy)headerTopPadding)


  ` Returns the visual space between the turn card and anything positioned above it.

  #### Declaration

  Swift

      class var headerTopPadding: CGFloat { get }

  Objective-C

      @property (class, nonatomic, readonly) CGFloat headerTopPadding;

- `


  ### [-init](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStyleValues#/c:objc(cs)GMSNavigationStyleValues(im)init)


  ` Unavailable
  This class is not intended to be instantiated.

  #### Declaration

  Objective-C

      - (nonnull instancetype)init;

- `


  ### [+new](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStyleValues#/c:objc(cs)GMSNavigationStyleValues(cm)new)


  ` Unavailable

  #### Declaration

  Objective-C

      + (instancetype)new NS_UNAVAILABLE;