title: Trigger a singleclick event
body: <p>I use OpenLayers 6, and I would like to trigger a singleclick event on the map automatically from a pixel.
  I searched in the documentation, but I didn't find anything (or I probably did'nt understand!)</p>
  <p>Here my code for the moment:</p>
  <pre><code>map.on(&quot;singleclick&quot;, singleClick)
  
  if (centroid.length &gt; 0) {
      window.setTimeout(() =&gt; {
          let pixel = map.getPixelFromCoordinate(centroid)
          console.log(pixel)
          //TODO trigger singleclick function
      }, 1)
  }
  </code></pre>
  <p>I don't copy/paste the code about singleClick function, it works with a user click.</p>
  <p>Thanks for your help :)</p>