title: Delete a polyline on MapBox
body: <p>I would like <code>delete</code> a <code>polyline</code> traced on a <code>MapView</code> of <code>MapBox</code>, but there are no methods easily usable (for example : clear, delete, remove....)</p>
  
  <pre><code>import com.mapbox.mapboxsdk.views.MapView;
  import com.mapbox.mapboxsdk.annotations.PolylineOptions;
  
  
  private com.mapbox.mapboxsdk.annotations.PolylineOptions plo;
  private MapView mapView;
  [..]
  
  
      public void drawPath(){
          DebugLog.logd("FragmentMapBox", "drawPath()");        
          if (path != null) {            
              List&lt;IGeoPoint&gt; pointsList = path.getListPoints();
              plo = new com.mapbox.mapboxsdk.annotations.PolylineOptions();
  
              for(IGeoPoint pt : pointList){
                  LatLng temp = new LatLng(pt.getLatitude(),pt.getLongitude());
                  plo.add(temp);
              }
              plo.color(getResources().getColor(R.color.colorflashy));
              plo.width(4);
              mapView.addPolyline(plo);            
          }
      }
  </code></pre>
  
  <p>"plo" it's a PolylineOptions</p>
  
  <p>Here the documentation : <a href="https://www.mapbox.com/android-sdk/api/3.2.0/" rel="nofollow">https://www.mapbox.com/android-sdk/api/3.2.0/</a></p>
  
  <p>I've not found yet....</p>