title: how to clear all map overlays or markers from google map in android?
body: <p>I want to clear all map overlays or markers from google map and using following code</p>
  
  <pre><code>if(!mapOverlays.isEmpty())
       {
       mapOverlays.clear();
  
   }
  </code></pre>
  
  <p>which is giving me exception can any one guide me?
  am i right or wrong if i am wrong then kindly provide me the solution to my problem.</p>
  
  <p>i want map clean if there is any marker on it.</p>
  
  <p>any help would be appriciated.      </p>