title: Google Maps' Custom Marker icon is not tappable (Using delegate)
body: <p>I have implemented the <code>Google Maps</code> in my iOS app and to show User Location, I am using custom Marker Icon. Everything is working properly. I have implemented the <code>GMSMapViewDelegate</code>.</p>
  
  <p>The issue is that the event <code>didTapAtCoordinate:</code> is not getting fired when I tap on the Marker Icon, but it does when I tap anywhere on the Map. Just the marker is not tappable while I have tried to set it <code>marker.tappable = YES;</code></p>
  
  <p>I have searched over the internet but couldn't get that what I am doing wrong or missing.</p>
  
  <p>Below is the code:</p>
  
  <pre><code>/** SETUP MAP &amp; MARKERS **/
  -(void) setupMapMarkers {
  
      self.mapView.delegate = self;
  
      /** SET CAMERA POSITION ON MAP **/
      GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:[self.userObject.latitude doubleValue]
                                                              longitude:[self.userObject.longitude doubleValue]
                                                                   zoom:10];
      self.mapView.camera = camera;
  
      /** ADDING USER'S LOCATION MARKER **/
      CLLocationCoordinate2D position = CLLocationCoordinate2DMake([self.userObject.latitude doubleValue], [self.userObject.longitude doubleValue]);
      GMSMarker *marker = [GMSMarker markerWithPosition:position];
      marker.tappable = YES;
  
      NSURL *url = [[NSBundle mainBundle] URLForResource:@"pin_user_active" withExtension:@"gif"];
      marker.icon = [UIImage animatedImageWithAnimatedGIFData:[NSData dataWithContentsOfURL:url]];
      marker.map = self.mapView;
  }
  
  #pragma mark - GMSMapViewDelegate
  
  - (void)mapView:(GMSMapView *)mapView didTapAtCoordinate:(CLLocationCoordinate2D)coordinate {
  
      NSLog(@"You tapped at %f,%f", coordinate.latitude, coordinate.longitude);
  }
  
  // Added it just to check, if it works on tap
  - (void)mapView:(GMSMapView *)mapView didTapOverlay:(GMSOverlay *)overlay {
      NSLog(@"tapped");
  }
  </code></pre>