title: GMSMapView methods deprecated in version 1.6
body: <p>I updated my app to use version 1.6 of Google Maps API for iOS. It now shows me that three important methods of <code>GMSMapView</code> are deprecated:</p>
  
  <pre><code>'markers' is deprecated
  'polylines' is deprecated
  'groundOverlays' is deprecated
  </code></pre>
  
  <p>At first I thought it might be a problem on my side because there is no mention of this in Google's documentation, but then I saw the header file and noticed that they are in fact deprecated but they do not specify an alternate method to use in order to achieve the same thing:</p>
  
  <pre><code>- (NSArray *)markers __GMS_AVAILABLE_BUT_DEPRECATED;
  - (NSArray *)groundOverlays __GMS_AVAILABLE_BUT_DEPRECATED;
  - (NSArray *)polylines __GMS_AVAILABLE_BUT_DEPRECATED;
  </code></pre>
  
  <p>Can somebody point me to how to do this without using deprecated methods? Thanks!</p>
  
  <p><strong>EDIT:</strong> I just found a method where you can do <code>[mapView clear]</code> which would remove all markers and polylines from the map, is there any way to only remove all polylines without removing markers?</p>