AI-generated Key Takeaways
- 
          GMTCMapViewDelegateis a protocol that handles events on aGMTCMapView.
- 
          The mapViewDidInitialize:method is called when themapViewinitialization is complete and ready for rendering.
- 
          The mapView:didTapConsumerMarker:markerType:method is called when a user taps on a marker, providing details about the tapped marker and allowing the delegate to handle the tap event.
- 
          The mapView:didTapConsumerMarker:markerType:method returns a boolean value to determine if the tap should carry on with default behavior.
GMTCMapViewDelegate
@protocol GMTCMapViewDelegate <GMSMapViewDelegate>Delegate for events on GMTCMapView.
- 
                  
                  Called after the mapVIew initialization completes and the mapView is ready to render a mapView session. DeclarationSwift optional func mapViewDidInitialize(_ mapview: GMTCMapView)Objective-C - (void)mapViewDidInitialize:(nonnull GMTCMapView *)mapview;ParametersmapviewThe GMTCMapView that generated the event. 
- 
                  
                  Called after user tapped on the marker. DeclarationSwift optional func mapView(_ mapView: GMSMapView, didTapConsumerMarker mapMarker: GMSMarker, markerType: GMTCMapViewMarkerType) -> BoolObjective-C - (BOOL)mapView:(nonnull GMSMapView *)mapView didTapConsumerMarker:(nonnull GMSMarker *)mapMarker markerType:(GMTCMapViewMarkerType)markerType;ParametersmapViewThe GMTCMapView that generated the event. mapMarkerThe user tapped marker. markerTypeThe type of the tapped marker. Return ValueYES if this delegate handled the tap event, which prevents the map from performing its default selection behavior, and NO if the map should continue with its default selection behavior.