title: How to suppress 'Single-Click' event In openlayers 3 while drawing on map
body: <p>I am using openlayers 3.20.0. And below link will show you the small example.</p>
  
  <p><a href="https://jsfiddle.net/f0cjkksg/1/" rel="nofollow noreferrer">click-here.</a> (In the example see the console for logs)</p>
  
  <p>I have a map object as </p>
  
  <pre><code>this.map = new ol.Map({
      layers : [ somelayer ],
      target : 'map',
      view : new ol.View({
          center : [ -11000000, 4600000 ],
          zoom : 4
      })
  });
  </code></pre>
  
  <p>Here I have attached '<strong>singleclick</strong>' and '<strong>dblclick</strong>' on map.</p>
  
  <p>And also I have draw interaction on map, as below</p>
  
  <pre><code>this.draw = new ol.interaction.Draw({
      features : features,
      type : "Point"
  });
  </code></pre>
  
  <p>which is emits '<strong>drawstart</strong>' and '<strong>drawend</strong>' event.</p>
  
  <p>But when we are drawing a point it will emit 'singleclick' event on map also. How can we prevent this from not emitting the 'singleclick' while drawing.</p>
  
  <p>I know we can remove the 'singleclick' event listener while drawing, but I don't want to remove listener and add again.</p>
  
  <p>Is there any other way of suppressing this event.</p>