GoogleNavigation Framework Reference

  • The GMSMapViewNavigationUIDelegate protocol handles events related to the navigation UI elements on a GMSMapView.

  • It provides a method, mapViewDidTapRecenterButton:, which is called when the user taps the re-center button on the map view.

GMSMapViewNavigationUIDelegate

@protocol GMSMapViewNavigationUIDelegate <NSObject>

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

  • 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.