title: How to get the id when is clicked and remove that? Google Maps V3
body: <p>Here is my code...I try to put event listener but the console says:</p>
  
  <blockquote>
    <p>markers.addListener is not a function</p>
  </blockquote>
  
  <p>Here is my code.....<a href="https://jsfiddle.net/1LwLczgr/1/" rel="nofollow">https://jsfiddle.net/1LwLczgr/1/</a></p>
  
  <pre><code>//The problem :(
  markers.addListener('click', function() {
        var marker = this;
        alert(this.id+"alasddsasdkasdl");
  });
  
  
  
  &lt;!--My API--&gt;
  &lt;script async defer type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBZiX9quA0AJiAFuoxrogRYObImmbCa-6g&amp;signed_in=true&amp;libraries=geometry,places&amp;callback=initMap"&gt;&lt;/script&gt;
  </code></pre>