title: leaflet: don't fire click event function on doubleclick
body: <p>I have a question concerning clicks on a map in leaflet. If I click on the map I want to set a marker there, but if doubleclick on the map I just want to zoom in without setting a marker. So I have the follwing code:</p>
  
  <pre><code>var map = L.map(attrs.id, {
              center: [scope.lat, scope.lng],
              zoom: 14
          });
  var marker = L.marker([scope.lat, scope.lng],{draggable: true});
  map.on('click', function(event){
              marker.setLatLng(event.latlng);
              marker.addTo(map);                
          });
  </code></pre>
  
  <p>The problem now is, when I doublclick on the map the click event is also fired and I would like to remove that behavior. How can I achieve that? </p>
  
  <p>Thanks 
  Magda</p>