title: 'initWithPolygon:' & 'initWithPolyline:' are deprecated: first deprecated in iOS 7.0: is there any solution for this warning in iOS?
body: <p>I am using KMLParser library for offline map to download .kml file from server but I found these warnings.</p>
  
  <p>Please give any solution to remove these warnings.</p>
  
  <p>Here is function for both:</p>
  
  <p>for initWithPolygon,</p>
  
  <pre><code>- (MKOverlayPathView *)createOverlayView:(MKShape *)shape
  {
      // KMLPolygon corresponds to MKPolygonView
  
      MKPolygonView *polyView = [[MKPolygonView alloc] initWithPolygon:(MKPolygon *)shape];
      return polyView ;
  }
  </code></pre>
  
  <p>for initWithPolyline,</p>
  
  <pre><code>- (MKOverlayPathView *)createOverlayView:(MKShape *)shape
  {
      // KMLLineString corresponds to MKPolylineView
      MKPolylineView *lineView = [[MKPolylineView alloc] initWithPolyline:(MKPolyline *)shape];
      return lineView ;
  }
  </code></pre>