GMSNavigationStyleValues
@interface GMSNavigationStyleValues : NSObjectProvides style values that can be used to visually match or align with Navigation SDK UI elements.
All values are specified in points.
-
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; -
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; -
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; -
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; -
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; -
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; -
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; -
Unavailable
This class is not intended to be instantiated.
Declaration
Objective-C
- (nonnull instancetype)init; -
Unavailable
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE;