title: how to remove particular markers from GMS?
body: <p>I asked earlier how to show different markerInfoWindow <a href="https://stackoverflow.com/questions/23964224/how-to-show-different-markerinfowindow">in this question</a>, 
  and now I'm trying to delete a particular marker when the user clicks on the button on the left corner.</p>
  
  <p>first in .h file : </p>
  
  <pre><code>NSMutableArray *ADSMarray;
  GMSMarker *adsMarker;
  </code></pre>
  
  <p>Then I created Ads marker like this: </p>
  
  <pre><code>    for (int l=0 ; l&lt;self.ADS.count; l++) {
      CLLocationCoordinate2D pos = CLLocationCoordinate2DMake([[[self.ADS objectAtIndex:l] objectForKey:@"lati"] doubleValue],[[[self.ADS objectAtIndex:l] objectForKey:@"longi"] doubleValue]);
      NSLog(@"Ads:: %f",[[[self.ADS objectAtIndex:l] objectForKey:@"longi"] doubleValue]);
      adsMarker = [[GMSMarker alloc]init];
      adsMarker.position=pos;
      //marker.infoWindowAnchor = CGPointMake(0.44f, 0.45f);
      adsMarker.draggable = NO;
      adsMarker.appearAnimation=YES;
      NSMutableArray*tempArray = [[NSMutableArray
                                   alloc] init];
      [tempArray addObject:@"ADS"];
      [tempArray addObject:[self.ADS objectAtIndex:l]];
  
      adsMarker.userData = tempArray;
      adsMarker.map = mapView_;
      adsMarker.icon=[GMSMarker markerImageWithColor:[UIColor blueColor]];
  
  }
  </code></pre>
  
  <p>then in <code>IBAction</code> to remove them I wrote: </p>
  
  <pre><code>for (int i =0; i&lt;self.ADS.count; i++) {
         // adsMarker.map = nil;
          [adsMarker setMap:nil];
      }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/bYf0B.png" alt="Hi"></p>