# GoogleNavigation Framework Reference

# GMSMapViewNavigationUIDelegate

    @protocol GMSMapViewNavigationUIDelegate <NSObject>

A delegate for events on `https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSMapView.html` related to the navigation UI.
- `


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


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

  #### Declaration

  Swift

      optional func mapViewDidTapRecenterButton(_ mapView: https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSMapView.html)

  Objective-C

      - (void)mapViewDidTapRecenterButton:(nonnull https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSMapView.html *)mapView;

  #### Parameters

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