> Documentation index: https://developers.google.com/maps/documentation/llms.txt

# GoogleNavigation Framework Reference

# GMSMapViewNavigationUIDelegate

    @protocol GMSMapViewNavigationUIDelegate <NSObject>

A delegate for events on `GMSMapView` related to the navigation UI.
- `


  ### [-mapViewDidTapRecenterButton:](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Protocols/GMSMapViewNavigationUIDelegate.md.txt#/c:objc(pl)GMSMapViewNavigationUIDelegate(im)mapViewDidTapRecenterButton:)


  ` Called when the re-center button has been tapped.

  #### Declaration

  Swift

      optional func mapViewDidTapRecenterButton(_ mapView: GMSMapView)

  Objective-C

      - (void)mapViewDidTapRecenterButton:(nonnull GMSMapView *)mapView;

  #### Parameters

  |---|---|
  | ` mapView ` | The map view that the re-center button is on. |