title: Google Maps API V3 : event listener on a class
body: <p>It is possible to detect an event with Google Maps V3 API, for instance (ex 1) : </p>
  
  <pre><code> google.maps.event.addListener('drag', function(event) { 
              $("#latD").val(event.latLng.lat()); 
              $("#longD").val(event.latLng.lng()); 
          }); 
  </code></pre>
  
  <p>or (ex 2)</p>
  
  <pre><code>google.maps.event.addListener(markerDep, 'drag', function(event) { 
          $("#latD").val(event.latLng.lat()); 
          $("#longD").val(event.latLng.lng()); 
      }); 
  </code></pre>
  
  <p>here, I specified an instance of a Marker.</p>
  
  <p>According to Google Maps API Specification, one can create a listener on a particular event (example 1), and even create a listener for a particular event on a particular instance (example 2).</p>
  
  <p>But is it possible to detect the same event for all the instances of a same class? For instance, can I detect a "dragend" event on all the instances of Marker?</p>