Page Summary
-
The
GMSMapViewNavigationUIDelegateprotocol handles events related to the navigation UI elements on aGMSMapView. -
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
mapViewThe map view that the re-center button is on.