title: How remove Polyline from map in GWT Gmaps
body: <p>i using GWT in my project with Gmaps, and i drawing many polylines, but in time I need to force cancell the handler to draw polyline in time of execution, this cancel only when limit of vertex are reached. </p>
  
  <p>Let's see bellow, I've tried many ways, but I can't do this. =/         </p>
  
  <p><code>
  LatLng [] inicialize = new LatLng[1];</p>
  
  <pre><code>        // setando numero maximo de pontos e criando a "caneta"
          PolyEditingOptions opcoes = PolyEditingOptions.newInstance(max_cliques);
          pol = new Polyline(inicialize, "#008840", 5, 0.2, PolylineOptions.newInstance());       
          map.addOverlay(pol);
          pol.setDrawingEnabled(opcoes);
  </code></pre>
  
  <p></code></p>
  
  <p>and to remove I've tried like this ways, but doesn't work</p>
  
  <p><code></p>
  
  <pre><code>        pol.setVisible(false);
          map.removeOverlay(pol);
  </code></pre>
  
  <p></code></p>
  
  <p>Sorry for my bad english.</p>