GoogleNavigation Framework Reference

GMSNavigationUIButton

@protocol GMSNavigationUIButton

Protocol for describing Google-provided buttons intended to be floated over the map.

  • An identifier for the type of a Google-provided button. Compare this to static properties such as compass in this protocol.

    Declaration

    Swift

    var type: NavigationButtonKnownType { get }

    Objective-C

    @property (nonatomic, readonly) GMSNavigationButtonKnownType type;
  • The view representing the button.

    Declaration

    Swift

    var view: UIView { get }

    Objective-C

    @property (nonatomic, readonly) UIView *_Nonnull view;