title: How to remove a particular marker from Google Map in Android
body: <p>I add a marker on each map click, and I only want to see the last one.</p>
  
  <p>I tried the following code:</p>
  
  <pre><code>if(marker!=null)
  {
  marker.visible(false);
  marker=null;
  }
  
  marker=new MarkerOptions().position(latLng);
  googleMap.addMarker(marker);
  </code></pre>
  
  <p>I see every marker even though I set it to invisible.</p>
  
  <p>How can I remove after each click? I can't find any remove methods.</p>