On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

<GMTCMapViewDelegate> Protocol Reference

Stay organized with collections Save and categorize content based on your preferences.
<GMTCMapViewDelegate> Protocol Reference

Overview

Delegate for events on GMTCMapView.

Public Member Functions

(void) - mapViewDidInitialize:
 Called after the mapVIew initialization completes and the mapView is ready to render a mapView session.
(BOOL) - mapView:didTapConsumerMarker:markerType:
 Called after user tapped on the marker.

Member Function Documentation

- (void) mapViewDidInitialize: (GMTCMapView *)  mapview [optional]

Called after the mapVIew initialization completes and the mapView is ready to render a mapView session.

Parameters:
mapviewThe GMTCMapView that generated the event.
- (BOOL) mapView: (GMSMapView *)  mapView
didTapConsumerMarker: (GMSMarker *)  mapMarker
markerType: (GMTCMapViewMarkerType markerType 
[optional]

Called after user tapped on the marker.

Parameters:
mapViewThe GMTCMapView that generated the event.
mapMarkerThe user tapped marker.
markerTypeThe type of the tapped marker.
Returns:
YES 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.